IP Address Restriction

In a typical server-to-server exchange of information, you will most likely know the IP address of the machine that will be requesting information from your machine. If this is the case, you can restrict your Web site to only accept requests from this IP address. Simply select a Web site in IIS and then open the Properties dialog box. Then, select the Directory Security tab and click the Edit button in the IP Address and Domain Name Restrictions section (see Figure 31.3).

Figure 31.3. Click the Edit button to edit IP addresses you want to restrict.

NOTE

This technique is only available on computers running server software. ...

Get ASP.NET Developer's JumpStart now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.