add Element for authoringRules for WebDAV [IIS Settings Schema]

Note

For more information about the add element, see the following topic on the Microsoft IIS.net Web site: Adding WebDAV Authoring Rules <add>.

Specifies the access permissions for users or groups for specific content types for a unique authoring rule.

Syntax

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

access

Optional flags attribute.

Specifies the access settings for the authoring rule. These values combined with a logical OR operation, so "None, Read" = "Read."

Note

Source access allows a WebDAV client to request the contents of a script-mapped file, such as an ASP.NET or PHP file, as opposed to the processed output of the file.

Value Description
None No authoring is allowed.The numeric value is 0.
Read Read access is allowed.The numeric value is 1.
Write Write access is allowed.The numeric value is 2.
Source Access to source code is allowed.The numeric value is 16.

The default value is None.

path

Optional string attribute.

Specifies the file name or the file name extension for which the authoring rule applies. For example, "*.aspx", "*.php", etc. In addition, the following special identifiers have been defined.

Value Description
* Specifies that the rule will apply to all content.

There is no default value.

roles

Optional string attribute.

Specifies roles or groups for an authorization rule. Multiple roles can be added in a comma-separated list.

There is no default value.

users

Optional string attribute.

Specifies users for an authorization rule. Multiple users can be added in a comma-separated list. In addition, the following special identifiers have been defined.

Value Description
* Specifies that the rule will apply to all users.
? Specifies that the rule will apply to anonymous users.

There is no default value.

Child Elements

None.

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.

webdav

Configures Web Distributed Authoring and Versioning (WebDAV) for Internet Information Services (IIS) 7.

authoringRules

Specifies the access permissions for users or groups for specific content types for a unique authoring rule.

Remarks

For more information about the add element, see the following topic on the Microsoft IIS.net Web site: Adding WebDAV Authoring Rules <add>.

Element Information

Configuration locations

ApplicationHost.config

Requirements

IIS 7

See Also

Reference

authoringRules Element for WebDAV [IIS Settings Schema]