The simplest thing is to do is create a .htaccess file in your directory that you do not want viewable.
Create a file called .htaccess
Insert one line into the file:
Now drop that file in the directory you do not want viewable.
Save [color=#CC0000]$97[/color] on Dreamhost plans by using promo code: [color=#CC0000][url=http://www.dreamhost.com/r.cgi?239761/hosting.html|SRVR97]SRVR97[/url][/color]