Web 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 Administration Tool, which allows configuration of a Web application via an easy browser interface.

There are two main reasons why the Web Administration Tool is useful. 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 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 6.15, details the current application and security details, as well as links to the other main sections.

Figure 6.15. The Web Administration Tool Home page

graphics/06fig15.jpg

The Security Page

The Security page, shown in Figure 6.16, 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

Figure 6.16. The Web Administration Tool Security page

graphics/06fig16.jpg

The second option is for configuration of security that has already been enabled, as detailed in the following subsection.

Security Management

Once security is initially set up, or by selecting 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 6.17.

Figure 6.17. Web Administration Tool user configuration

graphics/06fig17.gif

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

Figure 6.18. Web Administration Tool role configuration

graphics/06fig18.gif

Not all features of the user and role management are implemented in the preview release.

Other Pages

The Personalize, Reports, and Data Access pages are not currently implemented but will be available in a later release.



A First Look at ASP. NET v. 2.0 2003
A First Look at ASP. NET v. 2.0 2003
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 90

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net