Restrict access to a file or folder Updated September 08, 2017 20:50 DescriptionHow to restrict access to a file or a folder based on incoming IP addresses ResolutionSecuring a FolderOpen IIS Manager (Start > Run > Open INETMGR and hit enter)Navigate to web siteSelect the folder, which needs restrictionIn features view double click on “IPv4 Address and Domain Restrictions”In Action pane click “Add Allow Entry”Select “Specific IPv4 Address” radio buttonEnter IP address and click OK.In action pane click “Edit Feature Settings”Select “Deny” from the drop down and click OK Securing a File Open IIS Manager (Start > Run > Open INETMGR and hit enter)Navigate to web siteSwitch to “Content View”Select and right click on the file which needs restrictionSelect “Switch to Features View” from context menuIn features view double click on “IPv4 Address and Domain Restrictions”In Action pane click “Add Allow Entry”Select “Specific IPv4 Address” radio buttonEnter IP address and click OK button.In action pane click “Edit Feature Settings”Select “Deny” from the drop down and click OK