View previous topic :: View next topic |
Author |
Message |
ajgiampa -
Joined: 10 Nov 2007 Posts: 4
|
Posted: Wed Apr 15, 2009 4:28 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 |
|
|
timleonard -
Joined: 30 Aug 2007 Posts: 16 Location: La Mirada, CA. USA
|
Posted: Thu Apr 16, 2009 4:26 am Post subject: |
|
|
I just went through that, basically you have two choices, Rewrite rule or anti-leeching...See the following Thread. It may help |
|
Back to top |
|
|
pkSML -
Joined: 29 May 2006 Posts: 952 Location: Michigan, USA
|
Posted: Thu Apr 16, 2009 12:28 pm Post subject: |
|
|
You might look at phpAlbum http://www.phpalbum.net/ . It has the option of making private galleries that require a password. With that, you'd want to turn on Abyss' access control for that directory. _________________ Stephen
Need a LitlURL?
http://CodeBin.yi.org |
|
Back to top |
|
|
|