WEBSITE

Work with IIS 7.0 : Delegate Rights Assignments

10/10/2010 9:35:57 AM
You can configure IIS 7.0 to be remotely administered, and you can minimize the amount of authority you give. Let’s first look at how to configure IIS 7.0 to be remotely administered:
  1. To add the IIS Management Service using Server Manager, begin by opening IIS Manager and selecting your web server in the left pane.

  2. In the Management area (if grouped by area), double-click Management Service to open the Management Service pane (see Figure 1).

    Figure 1. The Management Service pane in IIS Manager.

  3. Make the following configuration changes:

    • Check the box Enable Remote Connections.

    • Select Windows Credentials or IIS Manager Credentials.

    • Leave the default selections in the Connections section for IP address, port, SSL certificate, and logging.

    • On the lower portion, if desired, restrict access by IP address.

    • Notice at the top of the right pane that you are told that the Management Service (WMSVC) is stopped, and you need to start the service before remote connections can be made. Start WMSVC by clicking the Start button. By default, the service is set to Manual; you can set the service to Automatic if desired.

Now that you have successfully enabled remote connections to IIS 7.0, you need to define what the remote managers will be able to change within IIS. Follow these steps:

1.
With your web server still selected in IIS Manager, double-click the Feature Delegation applet. The Feature Delegation pane appears, showing all the configurable features in IIS 7.0 and the level of delegation allowed for each.

2.
Select Directory Browsing, and you see the different levels of delegation you can assign:

  • Read/Write: This unlocks the configuration portion of the feature in the Applicationhost.config file.

  • Read Only: This locks the configuration portion of the feature in the Applicationhost.config file.

  • Not Delegated: This locks the configuration portion of the feature in the Applicationhost.config file.

  • Configuration Read/Write: This unlocks the configuration portion of the feature in the Applicationhost.config file. You manage this setting outside IIS.

  • Configuration Read/Only: This locks the configuration portion of the feature in the Applicationhost.config file, but it allows configuration changes outside IIS.

  • Not Delegated: This locks the configuration portion of the feature in the Applicationhost.config file.

3.
While we still have Directory Browsing selected, click Read Only.

4.
Select your website in IIS Manager and double-click the Directory Browsing applet. A runtime error is generated, as shown in Figure 2, and you cannot configure directory browsing for the website.

Figure 2. The runtime error generated.


5.
Click OK on the error message. In the top of the right pane, a message now states, “Could not retrieve the directory browsing settings.”

You have seen how you can lock down specific configuration features in IIS 7.0. Keep in mind the following points when delegating rights with IIS:

  • Back up the configuration files before performing modifications.

  • Configure with the most restrictive settings possible.

  • Do not change the system account.

When you’re delegating rights, many features need to be considered. What if you have multiple IIS servers in your organization? How can you make sure your configuration is the same on all IIS servers? In this case, you can use the Shared Configuration applet under the Management section (when grouped by area) in order to use a shared configuration file or, if you have the master file, to export your file to a shared location for other servers to use.

Note

The Shared Configuration tool is not limited to the delegation and rights configuration of IIS 7.0. This tool shares all the configuration settings for IIS.



Other  
 
Most View
The Best Mobile Apps (Part 1) - BBM
All You Need To Know About Water - Cooling (Part 1)
Microsoft Exchange Server 2010 : Creating and Managing Database Availability Groups (part 1) - Creating Database Availability Groups
Microsoft Lync Server 2010 : Microsoft Communicator Client for Macintosh - Installing the Client
Surface Won’t Sell Windows 8...
Windows Server 2012 : Planning, implementing, and managing Group Policy (part 4) - Refreshing Group Policy
Apple iPad Mini - Falling Behind
Maingear Alpha 24 Super Stock - No Retreat, No Surrender
Windows Small Business Server 2011 : Installing the Second Server (part 1) - Installation and Initial Configuration - Installation
My Wi-Fi – P1 MX230 - All For The Enjoyment
Top 10
Sharepoint 2013 : Farm Management - Disable a Timer Job,Start a Timer Job, Set the Schedule for a Timer Job
Sharepoint 2013 : Farm Management - Display Available Timer Jobs on the Farm, Get a Specific Timer Job, Enable a Timer Job
Sharepoint 2013 : Farm Management - Review Workflow Configuration Settings,Modify Workflow Configuration Settings
Sharepoint 2013 : Farm Management - Review SharePoint Designer Settings, Configure SharePoint Designer Settings
Sharepoint 2013 : Farm Management - Remove a Managed Path, Merge Log Files, End the Current Log File
SQL Server 2012 : Policy Based Management - Evaluating Policies
SQL Server 2012 : Defining Policies (part 3) - Creating Policies
SQL Server 2012 : Defining Policies (part 2) - Conditions
SQL Server 2012 : Defining Policies (part 1) - Management Facets
Microsoft Exchange Server 2010 : Configuring Anti-Spam and Message Filtering Options (part 4) - Preventing Internal Servers from Being Filtered