Protecting Directories


#1

I want to know how to keep people from being able to view a directory when sent a link to one file in that directory.

Example: If I post a link for a picture such as:

http://www.domain.com/photos/picture.jpg

I don’t want people to be able to go to:

http://www.domain.com/photos

and view ALL the contents. I have figured out how to password protect a directory, but when I do that, it requires a password to even view a single picture in that directory.

Any help would be appreciated!!


#2

Reading through the forums can be your friend… this question was answered a couple hours ago here.

Good luck!


#3

Thanks for the link to the post. That subject line didn’t look like it would be relevant, so I didn’t open it. :slight_smile:

Definitely answered my question.