Ok I've spent about 3 weeks working on a members area setting up every thing and I just realized I have no image protection so any one can just go to /images/whatever.jpg/gif and download every thing... kinda stupid huh... Directory indexing is turned off... So I have been searching for ways to protect the images from non-members. What is the best way to protect the directory so non members cannot access it. I use php4 mysql and apache2. I have tried using .htaccess but I'm not sure how to link it with mysql to get my members login/passwords off it this is even possible. Ideally I would like to protect the directory just using mysql ... Is this possible... Any suggestions... Thanks in advance.
