First Look At Asp Net v2.0 [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

First Look At Asp Net v2.0 [Electronic resources] - نسخه متنی

Alex Homer

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید









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


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:


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)

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)

Define Roles, where you can optionally specify Authorization roles

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

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

Complete, to indicate that the security settings have been configured


Figure 6.16. The Web Administration Tool Security page


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


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



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.


/ 90