authorization Element for security [IIS Settings Schema]
Note
For more information about the authorization element, see the following topic on the Microsoft IIS.net Web site: Security Authorization <authorization>.
Specifies authorization-related settings.
Syntax
Attributes and Elements
The following sections describe attributes, child elements, and parent elements for this section.
Attributes
Attribute |
Description |
---|---|
bypassLoginPages |
Optional Boolean attribute. Specifies whether to skip authorization check for the page specified as the login page for Forms authentication. This enables unauthenticated users to access the login page to log on. The default value is True. |
Child Elements
Element |
Description |
---|---|
add |
Optional element. Adds an authorization rule to the collection of authorization rules. |
remove |
Optional element. Removes a reference to an authorization rule to the collection of authorization rules. |
clear |
Optional element. Removes all references to authorization rules from the collection of authorization rules. |
Parent Elements
Element |
Description |
---|---|
configuration |
Specifies the root element in every configuration file that is used by IIS 7. |
system.webServer |
Specifies the top-level section group (in ApplicationHost.config) in which this element is defined. |
security |
Specifies the section group that contains security-related sections. |
Remarks
For more information about the authorization element, see the following topic on the Microsoft IIS.net Web site: Security Authorization <authorization>.
Element Information
Configuration locations |
Machine.config ApplicationHost.config Root application Web.config Application Web.config Directory Web.config |
Requirements |
Microsoft Internet Information Services (IIS) version 7.0 |
See Also
Reference
add Element for authorization for security [IIS Settings Schema]
remove Element for authorization for security [IIS Settings Schema]
clear Element for authorization for security [IIS Settings Schema]