Website Subdirectory Access

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
ajgiampa
-


Joined: 10 Nov 2007
Posts: 4

PostPosted: Wed Apr 15, 2009 4:27 am    Post subject: Website Subdirectory Access Reply with quote

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 View user's profile Send private message
thimothy
-


Joined: 29 Oct 2010
Posts: 5

PostPosted: Fri Nov 05, 2010 11:53 am    Post subject: Reply with quote

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 View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group