beccatigger Posted March 20, 2008 Share Posted March 20, 2008 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. Link to comment Share on other sites More sharing options...
Sars! Posted March 23, 2008 Share Posted March 23, 2008 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 .htaccessThose will make it able to get a user-login for a subfolder.Grtz,SaRs! Link to comment Share on other sites More sharing options...
beccatigger Posted March 25, 2008 Author Share Posted March 25, 2008 Thanks but that's for Apache hosting, ASP only runs on windows hosting Link to comment Share on other sites More sharing options...
Team929 Posted March 27, 2008 Share Posted March 27, 2008 http://aspnet.4guysfromrolla.com/articles/052307-1.aspxThe link is for a WSAT, probably waaaay overkill for your needs. Perhaps you can strip it down for just for what you need. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now