12.6. Configuring Web Permissions

Problem

You want to control access to content on your web server using web permissions.

Solution

Using a graphical user interface

To control access to content for all web sites on your server, do the following:

  1. Open Internet Information Services (IIS) Manager.

  2. In the left pane, right-click on the Web Sites node and select Properties.

  3. Select the Home Directory tab.

  4. Select the web permissions you want to allow and click OK.

  5. If the Inheritance Overrides dialog box appears, click Select All and click OK (repeat if this box appears again).

To control access to content in a particular web site, do the following:

  1. Open Internet Information Services (IIS) Manager.

  2. In the left pane, expand the Web Sites node, right-click on your web site, and select Properties.

  3. Select the Home Directory tab.

  4. Select the web permissions you want to allow and click OK.

  5. If the Inheritance Overrides dialog box appears, click Select All, and click OK (repeat if this box appears again).

To control access to content in a particular virtual directory, do the following:

  1. Open Internet Information Services (IIS) Manager.

  2. In the left pane, right-click on your web site, right-click on the virtual directory within it you want to control, and select Properties.

  3. Select the Virtual Directory tab.

  4. Select the web permissions you want to allow and click OK.

To control access to a particular file in a web site or virtual directory, do the following:

  1. Open Internet Information Services (IIS) Manager.

  2. In the left pane, ...

Get Windows Server Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.