authoringRules Element for WebDAV [IIS Settings Schema]

Note

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

Specifies the WebDAV authoring permissions for a URI space. This element is can be defined per-URI within a Web site. The permissions in this element are inherited, so child URIs will have the same permissions as a parent URI, provided that the child URI does not have unique permissions defined.

Syntax

Attributes and Elements

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

Attributes

Attribute

Description

defaultAccess

Optional flags attribute.

Specifies the default access settings for WebDAV authoring. 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.

The default value is None.

ValueDescription
NoneNo authoring is allowed. The numeric value is 0.
ReadRead access is allowed. The numeric value is 1.
WriteWrite access is allowed. The numeric value is 2.
SourceAccess to source code is allowed. The numeric value is 16.

allowNonMimeMapFiles

Optional Boolean attribute.

true if WebDAV requests should be allowed for files that are not defined in the MIME map; otherwise, false.

For example, files that are script-mapped are not defined in the MIME map, but Web authors may still need to edit these files, which are not allowed in IIS requests by default. When set to true, the WebDAV module will accept requests for files that are not included in the MIME map. When set to false, the module will require that all files are found in the MIME map and return a "404.3 – MIME map policy prevents this request" error for any request that does not match the MIME list.

The default value is false.

defaultMimeType

Optional string attribute.

Specifies the default MIME type for files that do not have an explicit MIME type defined.

The default value is application/octet-stream.

Child Elements

Element

Description

add

Optional element.

Adds an authoring rule to the collection of authoring rules.

clear

Optional element.

Clears the collection of authoring rules.

remove

Optional element.

Removes an authoring rule from the collection of authoring 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.

webdav

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

Remarks

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

Element Information

Configuration locations

ApplicationHost.config

Requirements

IIS 7

See Also

Reference

add Element for authoringRules for WebDAV [IIS Settings Schema]