1.3 Ensure 'directory browsing' is set to disabled


Directory browsing allows the contents of a directory to be displayed upon request from a web client. If directory browsing is enabled for a directory in Internet Information Services, users receive a page that lists the contents of the directory when the following two conditions are met:
1. No specific file is requested in the URL
2. The Default Documents feature is disabled in IIS, or if it is enabled, IIS is unable to locate a file in the directory that matches a name specified in the IIS default document list

It is recommended that directory browsing be disabled.

Ensuring that directory browsing is disabled may reduce the probability of disclosing sensitive content that is inadvertently accessible via IIS.


Directory Browsing can be set by using the UI, running appcmd.exe commands, by editing configuration files directly, or by writing WMI scripts. To disable directory browsing at the server level using an appcmd.exe command:
%systemroot%\system32\inetsrv\appcmd set config /section:directoryBrowse /enabled:false

See Also


Item Details


References: 800-53|CM-7b., CSCv6|9.1

Plugin: Windows

Control ID: af0aa0939c71373e77320813d2ce66ec2c0c9db40632bcc97b68a3e11c669145