- On IIS directory listings are disabled by default.
- For Apache you need to edit the Apache configuration file (usually named httpd.conf) or create an .htaccess file. In the configuration file you will have the definition of the directory. Something like
Options Indexes FollowSymLinks
...
To disable directory listing for that directory you need to remove the ’Indexes’ option.
Reference
http://www.acunetix.com/blog/web-security-zone/directory-listing-information-disclosure/
0 comments:
Post a Comment