Hiding sub folders

Hi,

Is there a way to hide sub folders so random folks can’t go into the folder directory?

Thanks.

You can prevent them from getting a directory listing:
http://wiki.dreamhost.com/Modifying_directory_indexes#Turning_off_directory_indexes

You can password protect them:


But if there’s content in there that the web server needs to pull for random folks, that may be a problem if it’s blocked by a password.