Denying access to folders


#1

New to permissions so I hope I can get some help!

By default the folders on my user/domain are set as open to be accessed by anyone. I simply want to make it so that directories cannot be accessed but the files within them can. How can I do this?


#2

I often put a blank index.php file in all folders to avoid people browsing a dir listing.

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost


#3

I put -Indexes in my .htaccess file.

http://www.rixort.com/tutorials/apache-htaccess.php

-Scott