The Web Site Administration Tool





The Web Site Administration Tool

Administration of ASP.NET applications has always been easy, although diving into the XML-based configuration file isn't the most user-friendly way to do it. For the 2.0 release of ASP.NET, there is the Web Site Administration Tool, which allows configuration of a Web application via an easy browser interface.

The Web Site Administration Tool is useful for two main reasons. First, it abstracts the XML configuration into an easy-to-use interface, and second, it provides administration features via a browser. This means that for remote sites (such as those provided by a hosting company), it's easy to administer an application without having to edit the configuration file (e.g., to add new security credentials) and then upload it.

The Web Site Administration Tool is available for each directory configured as an application, by way of a simple URL:

http://website/WebAdmin.axd

This presents you with a home page and menu consisting of five main options.

The Home Page

The Home page, shown in Figure, details the current application and security details, as well as links to the other main sections.

16. The Web Site Administration Tool Home page

graphics/06fig16.jpg


The Security Page

The Security page, shown in Figure, offers two options for configuring security. The first is a wizard that takes you through the following steps:

  1. Select Access Method, which defines whether the application is available from the Internet (in which case Forms Authentication is used) or from the LAN (in which case Windows Authentication is used)

  2. Specify Data Source, where you can specify the database (Access or SQL Server) that will store the user credentials and what details are required (e.g., unique e-mail address, allow password retrieval, and so on)

  3. Define Roles, where you can optionally specify Authorization roles

  4. Add New Users, which allows addition of new users and allocation to roles

  5. Add New Access Rules, which defines which files and folders users and roles have permissions for

  6. Complete, to indicate that the security settings have been configured

17. The Web Site Administration Tool Security page

graphics/06fig17.jpg


The second option is for configuration of security that has already been enabled. If configured, the details are shown at the bottom of the main security page (see the following subsection for more information).

Security Management

Once you have initially set up security (or selected the second option titled Security Management on the main Security page), the Security page allows management of users, roles, and permissions without the use of the wizard.

For example, consider the users added earlier in the chapter. If we select the Manage Users options, we see the User Management features shown in Figure.

18. Web Site Administration Tool user configuration

graphics/06fig18.jpg


Likewise, selecting Manage Roles allows you to customize roles and members, as shown in Figure.

19. Web Site Administration Tool role configuration

graphics/06fig19.gif


Other Pages

Three other pages are used in the Web Site Administration Tool:

  • Profile, which allows configuration of the Personalization Profile (see Chapter 7)

  • Application, which allows configuration of application settings, site and page counters, SMTP settings, and debugging and tracing (see Chapter 13)

  • Provider, which allows configuration of the data provider or providers to be used in the application (see Chapter 13)


     Python   SQL   Java   php   Perl 
     game development   web development   internet   *nix   graphics   hardware 
     telecommunications   C++ 
     Flash   Active Directory   Windows