Deny from all
Allow from .domain.com
IIS works the same way. All clients are specifically denied or granted access, except for those that are listed.
- Log on to the Web server computer as an administrator.
- Click Start, point to Settings, and then click Control Panel.
- Double-click Administrative Tools, and then double click Internet Services Manager.
- If you want to limit access for the whole site, select the Web site from the list of different served sites in the left pane.
If you want to limit access only for a specific folder, click the folder you want to control.
- Right-click the Web site or folder, and then click Properties.
- Click the Directory Security panel.
- If you want to limit access to a specific set of sites but deny access to all other sites, click Denied Access.
- If you want to grant access to all clients by default but exclude a specific list of clients, click Granted Access.
- To update the list of hosts or domains in the Except list, click Add.
- To add a single computer to the list, click Single computer, type the IP address in the appropriate box, and then click OK.
- To add a range of computers in a specific address range, click Group of computers, type the IP address for the network in the appropriate box, type the subnet mask for the network range you want to configure, and then click OK.
- To add computers by their identified domain name, click Domain name, and then type the domain name in the appropriate box.
- Click Properties, type the domain name, and then click OK.
- Click OK, and then click OK.
Article ID: 324066 - Last Review: Nov 21, 2006 - Revision: 1