Restrict access to a file or folder

  • Updated

How to restrict access to a file or a folder based on incoming IP addresses

Securing a Folder

  1. Open IIS Manager (Start > Run > Open INETMGR and hit enter)
  2. Navigate to web site
  3. Select the folder, which needs restriction
  4. In features view double click on “IPv4 Address and Domain Restrictions
  5. In Action pane click “Add Allow Entry”
  6. Select “Specific IPv4 Address” radio button
  7. Enter IP address and click OK.
  8. In action pane click “Edit Feature Settings”
  9. Select “Deny” from the drop down and click OK

 iismgr webservices

            Securing a File 

  1. Open IIS Manager (Start > Run > Open INETMGR and hit enter)
  2. Navigate to web site
  3. Switch to “Content View”
  4. Select and right click on the file which needs restriction
  5. Select “Switch to Features View” from context menu
  6. In features view double click on “IPv4 Address and Domain Restrictions
  7. In Action pane click “Add Allow Entry”
  8. Select “Specific IPv4 Address” radio button
  9. Enter IP address and click OK button.
  10. In action pane click “Edit Feature Settings”
  11. Select “Deny” from the drop down and click OK

iismgr scws