View Full Version : Hide Folder Contents
How do you hide a folders contents from being listed? I don't mean password protecting the folder, I just mean when someone clicks on a folder that has images and files, but no index.xxx file in it, you can see all the file names. Most web hosts have a 403 error page that says "Forbidden"
Never mind. You just create an .htaccess file in the folder you want and put in it:
It protects the folders below the folder, so I just added it to my root.
03-17-2007, 06:23 AM
all you needed to do was put a index.htm in the folders you need to protect, they won't see the contents that way