Install Config Wiki

All about installing, configuring and troubleshooting

User Tools

Site Tools


wiki:deny_web_access_to_a_folder_by_adding_a_request_filter_to_iis_web.config

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:deny_web_access_to_a_folder_by_adding_a_request_filter_to_iis_web.config [2017/11/15 21:16]
wikiadmin
wiki:deny_web_access_to_a_folder_by_adding_a_request_filter_to_iis_web.config [2017/11/15 21:19] (current)
Line 6: Line 6:
 Open Internet Information Services Manager and select the website that you are interesting in denying web access to certain folders within that site.  You can either add a properly configured web.config file to the website root, or add a web.config file within the particular sub-directory of the root, to block access to those directories / folders from web browsers.  ​ Open Internet Information Services Manager and select the website that you are interesting in denying web access to certain folders within that site.  You can either add a properly configured web.config file to the website root, or add a web.config file within the particular sub-directory of the root, to block access to those directories / folders from web browsers.  ​
  
-Or you can use Request Filtering to Add a "​Deny"​ list for each folder you want to restrict access, such as /data/, /_cgi-bin/, /admin/, etc.  This deny sequence list will be configured in the web.config file, either in the root, or in the sub-folder itself.+Or you can use Request Filtering to Add a "​Deny"​ list for each folder you want to restrict access, such as /data/, /_cgi-bin/, /admin/, etc.  This deny sequence list can be configured in the web.config file within ​the root, or you can deny access by creating a properly scripted web.config file within ​the '​denied' ​sub-folder itself.
  
 =====Directions to Deny Direct Access to Certain folders using Request Filtering===== =====Directions to Deny Direct Access to Certain folders using Request Filtering=====
wiki/deny_web_access_to_a_folder_by_adding_a_request_filter_to_iis_web.config.txt ยท Last modified: 2017/11/15 21:19 (external edit)