
Is your website or blog using Apache Web Server ? Well, beware of the fact, that directory browsing is enabled by default.
Below is a screenshot which will clear you something about directory browsing.
If you are particular about the security aspects of your web assets, you should disable directory browsing on Web server. There are two ways to disable directory browsing from a web host, one is by editing .htaccess file and other is editing httpd.conf file. In this article, I’ll be dealing the first method, ie. using .htaccess file. The procedure goes right under:
Note: Before making any changes, backup the website data as well as the htaccess file.
1. Open the .htaccess file located in the root of web hosting (using ftp).
2. Search for Options Indexes, if found edit is to “Options-Indexes”.
3. If there is no Options Indexes existing, add as in new line “Options-Indexes”.
4. Once the htaccess file is edited, save it. This concludes that the directory browsing feature is disabled now.
Well, once the above procedure is applied, visitor will not be able to browse the web directory, if no index.html file exists.
For any queries or further assistance required, post comment as your feedback.











