Code Snippet </> Info
Snippet Name: Prevent Unauthorized Directory Browsing
Description: Prevent unauthorized directory browsing by instructing the server to serve a Forbidden Authorization Required? message for any request to view a directory. For example, if your site is missing the default index page, everything within the root of your site will be accessible to all visitors. To prevent this, include the following .htaccess rule.
Note:
Author:
Last Modified: 2015-03-26 23:41:08
Language: .htaccess
Highlight Mode: html
|
Copy Codes: Use Free Notepad ++ |
|
Snap HTML Code Editor: Paste the source code, make changes and instantly see it in live preview. Snap HTML Code Editor
|
|
Copied To Clipboard!
# Prevent Unauthorized Directory Browsing
Options All -Indexes
|