Jul
17
2009
Securing Your Site’s Directories
If you store files or images in a folder called “images”, and people enter www.yoursite.com/images as a URL, they will see a list of all the files you have in that directory. A quick way to solve this is to create an empty index.html or index.php file and upload it to the directory. This will load an empty page instead of showing a content list.
Another way of doing this is by modifying (or creating) a .htaccess file. Just place:
Options -indexes
in your .htaccess file and it will do the same thing as adding an index.html file to your folder.



Good tips Mr. B.
thx
Excellent Tip!