View previous topic :: View next topic |
Author |
Message |
ajgiampa -
Joined: 10 Nov 2007 Posts: 4
|
Posted: Wed Apr 15, 2009 4:27 am Post subject: Website Subdirectory Access |
|
|
I have a website that requires users to log in using a php access control script. It works great an users can't access any pages that contain the access control code.
One of the pages is a photo gallery, and I've noticed that if someone just types the direct URL of the photo, they can see the photo, even if not logged into my site. When I enable access control on the directory the photos are in through Abyss webserver, any links to the pictures in the directory require webserver username and password.
Is there a way to prevent access to my website's subdirectories to users who type the URL directly while still allowing the links on my access controlled pages to work?
Thanks... |
|
Back to top |
|
|
thimothy -
Joined: 29 Oct 2010 Posts: 5
|
Posted: Fri Nov 05, 2010 11:53 am Post subject: |
|
|
To be frank this query perplexed me to a considerable extent. When I browsed on the internet I found that normally it is not possible to gain access to a website’s subdirectory when you are required to log in using a php access control script. I really wonder whether his query is right. Anyway I would advise him to set a separate username and password for each of his photos. In my view that is the only way to prevent users from accessing them. _________________ Multivariate Testing |
|
Back to top |
|
|
|