
434
|
Chapter 20: web.config Reference
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
<deny>
Specifies users, roles, and/or HTTP verbs to be denied authorization for the
application.
Scope
Any
Attributes
users
A comma-delimited list of authorized usernames.
roles
A comma-delimited list of authorized roles (NT groups).
verbs
A comma-delimited list of authorized HTTP verbs (GET, HEAD, POST, or
DEBUG).
Child Elements
None
Example
See the example for the <authorization> element.
Notes
The same wildcards used by the <allow> element also apply to the deny element.
To deny access to anonymous (non-authenticated) users, set the value of the
users
attribute of the <deny> element to ?.
<browserCaps>
<browserCaps>
<result type=className />
<use var=serverVarName />
property1=value
property2=value
propertyN=value
<filter match=
string>
property1=value
property2=value
propertyN=value
</filter>
<filter match=string>
<filter match=string with=expressionToSearch>
property1=value
property2=value
propertyN=value
</filter>
</filter>
<filter>