IIS "ip address and domain name restrictions" setting method

  
                  

Using network identification and subnet masks Network identifiers and subnet masks can be used to deny or grant access to a group of computers. The network ID is the IP address of the host, which is usually the router of the "subnet". The subnet mask determines which part of the IP address is the subnet identifier and which part is the host ID. All computers in the subnet have the same subnet ID and their own unique host ID. You can select a group of computers by specifying a network ID and subnet mask. For example, if the host has an IP address of 172.16.16.1 and a subnet mask of 255.255.0.0, all computers in the subnet will have an IP address starting with 172.16. To select all computers in the subnet, enter 172.16.16.1 in the "Network ID" box and enter 255.255.0.0 in the "Subnet Mask" box. Grant or deny access to a group of computers In IIS Manager, expand the local computer, right-click a website, directory, or file, and then click “Properties”. Click the “Directory Security” or “File Security” tab. In the "IP Address and Domain Name Restrictions" section, click “Edit”. Click “Authorize Access” or “Deny Access”. When you select <;Deny access", access to all computers and domains is denied, except for computers and domains that you specifically grant access to. When you select “Authorize Access", all computers and domains are granted access, except for computers and domains that you specifically deny. Click “Add”. Click “A group of computers”. In the "Network ID" box, type the IP address of the host. In the "Subnet Mask" box, type the subnet ID of the computer you want to grant or deny. Click “OK” three times.

According to the above explanation, I set the directory security ——IP address and domain name restrictions in the book website iis in the 87 server as follows:

Select a group of computers —— Access denied —— except for the following: Add

Network ID Subnet Mask

145.48.51.1 255.255.255.0

145.48.52.1 Same as above

The following analogy. . .

Copyright © Windows knowledge All Rights Reserved