IPB

Google Frontpage Forums Unattended CD/DVD Guide
 
Reply to this topicStart new topic
> Prevent users accessing certain pages on my site
beccatigger
post Mar 20 2008, 08:47 AM
Post #1


University of Portsmouth!
***

Group: Members
Posts: 354
Joined: 5-June 03
Member No.: 4066
Country Flag


Hiya,

I'm on a shared hosting plan and making a site (asp) with lots of pages which I don't want users to be able to access by simply typing the url into their browser.

I've thought of a couple of ways to do it like seeing if the http_referrer was the page I posted from and perhaps moving the pages above wwwroot but just wondered if these are viable and if there are any other suggestions of ways to stop people accessing them?
Also how do I stop people accessing the images folder?
This is all bearing in mind I can't change the permissions on the folders.
Go to the top of the page
 
+Quote Post
Sars!
post Mar 23 2008, 05:56 AM
Post #2


Junior
*

Group: Members
Posts: 70
Joined: 21-May 06
Member No.: 96901
OS: none
Country Flag


QUOTE (beccatigger @ Mar 20 2008, 03:47 PM) *
Hiya,

I'm on a shared hosting plan and making a site (asp) with lots of pages which I don't want users to be able to access by simply typing the url into their browser.

I've thought of a couple of ways to do it like seeing if the http_referrer was the page I posted from and perhaps moving the pages above wwwroot but just wondered if these are viable and if there are any other suggestions of ways to stop people accessing them?
Also how do I stop people accessing the images folder?
This is all bearing in mind I can't change the permissions on the folders.


http://www.google.be/search?hl=nl&clie...oeken&meta=

.htpasswd and .htaccess

Those will make it able to get a user-login for a subfolder.

Grtz,
SaRs!
Go to the top of the page
 
+Quote Post
beccatigger
post Mar 25 2008, 05:34 AM
Post #3


University of Portsmouth!
***

Group: Members
Posts: 354
Joined: 5-June 03
Member No.: 4066
Country Flag


Thanks but that's for Apache hosting, ASP only runs on windows hosting smile.gif
Go to the top of the page
 
+Quote Post
Team929
post Mar 26 2008, 11:03 PM
Post #4


IT Grunt
*

Group: Members
Posts: 59
Joined: 20-September 02
Member No.: 2036
OS: Vista Ultimate x86
Country Flag


http://aspnet.4guysfromrolla.com/articles/052307-1.aspx

The link is for a WSAT, probably waaaay overkill for your needs. blink.gif Perhaps you can strip it down for just for what you need.
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 2nd December 2008 - 10:49 PM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2008 msfn.org
Privacy Policy