|
To add a little to the .htaccess solution...
In order to disable a folder from listing it's content on browser, simply create a .htaccess file in the folder and
place in the following code :-
Options -Indexes
This instruct webserver to disable the directory listing if there is no default index file (i.e. index.htm, index.html etc.) present in the folder.
|