programming4us
programming4us
WEBSITE

IIS 7.0 : Web Management Service (part 3) - Using Remote Administration

- How To Install Windows Server 2012 On VirtualBox
- How To Bypass Torrent Connection Blocking By Your ISP
- How To Install Actual Facebook App On Kindle Fire
8/17/2012 5:56:56 PM

Using Remote Administration

To use remote administration in IIS Manager, you need to establish a connection to a remote machine that is running the Web Management Service. To provide more flexibility, IIS Manager introduces three types of connections that provide different granularity and different scopes and capabilities for management: Connect To A Server, Connect To A Site, and Connect To An Application. Figure 15 shows the three options in the File menu of IIS Manager. You can also find these options on the Start page and the Connections pane context menu.

IIS Manager connection options.

Figure 15. IIS Manager connection options.

Server connections let the server administrator manage the entire server. The administrator will have full control over every setting and every feature on the machine. Only Windows users with administrative privileges are allowed to make this type of connection. For these users, configuration locking alters only where the configuration settings are saved, and these users are the only ones who can make modifications in applicationHost.config and the root Web.config.

Site connections enable both server administrators and site administrators (delegated users that have been granted permissions to connect to the site) to manage the entire site, including any of its applications. Their scope is limited to the site, and they will never be able to modify any of the server-level configuration files such as applicationHost.config or the root Web.config. If configuration is locked at the server level for any configuration section, the related feature will automatically become Read-Only, and no changes will be allowed.

Application connections enable server administrators, site administrators, and application administrators (delegated users that have been granted permissions to connect to the application) to manage the entire application including folders and virtual directories, but not applications underneath the particular application. Their scope is limited to the application, and they will never be allowed to change either server-level configuration files or site-level configuration files. If configuration is locked at the site level or at any parent folder, the feature will automatically become Read-Only, and no changes will be allowed.

Figure 16 shows the Connect To Application dialog box.

Application connection details in the Connect To Application dialog box.

Figure 16. Application connection details in the Connect To Application dialog box.

After clicking Next, you will be prompted for credentials in the dialog box shown in Figure 17. As mentioned before, these can be Windows user or IIS Manager users credentials.

User credentials in the Connect To Application dialog box.

Figure 17. User credentials in the Connect To Application dialog box.

After the connection is established you will see a new entry in the Connections pane, indicating the type of connection as well as the user name supplied to make the connection. Similarly, at the lower-right corner of the status bar, you will see the server name, the port, and the user name used for the connection. On the Home page, only the features that have been delegated (either Read-Only or Read/Write) will be shown. Figure 18 shows how the ASP feature setting is shown as read-only for an application connection because its configuration is locked by default.

ASP feature shown as read-only in an application connection.

Figure 18. ASP feature shown as read-only in an application connection.

Note

When using a different port than the default 8172, you will need to enter it in the server name text box when making the connection, for example, MyMachine:8173.

Administration.config and Feature Delegation

Administration.config is the file that contains all the settings for IIS Manager and remote administration. Just as the IIS configuration system does, it uses configuration sections to organize the settings into logical units. The most important are <moduleProviders> and <modules>. The <moduleProviders> section contains the centralized list of features that a server administrator will get when using IIS Manager. In other words, it includes the list of features that will be used when a server connection is activated. The <modules> section contains the list of modules that will be enabled for delegated connections (site and application connections). If a feature is listed only in the <moduleProviders> section, only server connections will show that feature. To make that feature available for all the sites, you can add it in the <modules> list inside a location tag by using the special path "." that denotes it should be available for everyone. Alternatively, you can add it in the name of the site if it should be available only for that site. The Feature Delegation page modifies the <modules> list when you change the delegation state. One thing to mention is that the delegation for applications is stored in another Administration.config file in the parent site physical path.

Other  
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Video Sports
programming4us programming4us
programming4us
 
 
programming4us