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.
Next revision | Previous revision | ||
wiki:deny_web_access_to_a_folder_by_adding_a_request_filter_to_iis_web.config [2017/11/15 21:13] – created wikiadmin | wiki:deny_web_access_to_a_folder_by_adding_a_request_filter_to_iis_web.config [2017/11/15 21:19] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
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 " | + | Or you can use Request Filtering to Add a " |
- | Directions: | + | =====Directions |
- | -In IIS Manager, select the website under ' | + | -In IIS 7 Manager, select the website under ' |
- | -Click | + | -Click |
- | -Select the ' | + | -Select the '**-url**' Tab in the middle pane |
- | -Click 'Deny Sequence' | + | -Click '**Deny Sequence**' in the ' |
- | -Now, Add the path of the first sub-folder between forward slashes, such as /data/ | + | -Now, Add the path of the first sub-folder between forward slashes, such as **/data/** |
- | -Click the OK button to add that sub-folder to the Deny list in the ' | + | -Click the OK button to add that sub-folder to the Deny Sequence |
- | -Repeat 'Deny Sequence' | + | -Repeat 'Deny Sequence' |
-Switch from Features view by clicking the ' | -Switch from Features view by clicking the ' | ||
-Click Ok to Save the these additions to the web.config file | -Click Ok to Save the these additions to the web.config file | ||
- | -Test your web interface by trying to directly access any folder in your url deny list | + | -Test your web interface by trying to directly access any ' |
wiki/deny_web_access_to_a_folder_by_adding_a_request_filter_to_iis_web.config.1510780385.txt.gz · Last modified: 2017/11/15 21:13 (external edit)