April 2002
Intermediate to advanced
816 pages
20h 56m
English
URL Authorization is a feature that is available through modifications to the config file of an application or site. Using URL Authorization is rather simple; it requires the addition of at least one of two elements—allow and/or deny—to the authorization section of the web.config file. This section is typically found right under the authentication mode element. Listing 15.1 shows the configuration entry necessary to allow the user "Administrator" access and deny access to everyone else.
<authentication mode="Windows" />
<authorization>
<allow users="Administrator" />
<deny users="*" />
</authorization>
|
Notice in Listing 15.1 that even though we are allowing ...
Read now
Unlock full access