WebDirProperties element (Iis extension)
WebDirProperties used by one or more WebSites. Lists properties common to IIS web sites and vroots. Corresponding properties can be viewed through the IIS Manager snap-in. One property entry can be reused by multiple sites or vroots using the Id field as a reference, using WebVirtualDir.DirProperties, WebSite.DirProperties, or WebDir.DirProperties.
Attributes
AccessSSL
wxs:YesNoTypeUnionA value of true indicates that file access requires SSL file permission processing, with or without a client certificate. This corresponds to AccessSSL flag for AccessSSLFlags IIS metabase property.
AccessSSL128
wxs:YesNoTypeUnionA value of true indicates that file access requires SSL file permission processing with a minimum key size of 128 bits, with or without a client certificate. This corresponds to AccessSSL128 flag for AccessSSLFlags IIS metabase property.
AccessSSLMapCert
wxs:YesNoTypeUnionThis corresponds to AccessSSLMapCert flag for AccessSSLFlags IIS metabase property.
AccessSSLNegotiateCert
wxs:YesNoTypeUnionThis corresponds to AccessSSLNegotiateCert flag for AccessSSLFlags IIS metabase property.
AccessSSLRequireCert
wxs:YesNoTypeUnionThis corresponds to AccessSSLRequireCert flag for AccessSSLFlags IIS metabase property.
AnonymousAccess
wxs:YesNoTypeUnionSets the Enable Anonymous Access checkbox, which maps anonymous users to a Windows user account. When setting this to ‘yes’ you should also provide the user account using the AnonymousUser attribute, and determine what setting to use for the IIsControlledPassword attribute. Defaults to ‘no.’
AnonymousUser
stringReference to the Id attribute on the User element to be used as the anonymous user for the directory. See the User element for more information.
AspDetailedError
wxs:YesNoTypeUnionSets the option for whether to send detailed ASP errors back to the client on script error. Default is ‘no.’
AuthenticationProviders
stringComma delimited list, in order of precedence, of Windows authentication providers that IIS will attempt to use: NTLM, Kerberos, Negotiate, and others.
BasicAuthentication
wxs:YesNoTypeUnionSets the Basic Authentication option, which allows clients to provide credentials in plaintext over the wire. Defaults to ‘no.’
CacheControlCustom
stringCustom HTTP 1.1 cache control directives.
CacheControlMaxAge
non-negative integerInteger value specifying the cache control maximum age value.
ClearCustomError
wxs:YesNoTypeUnionSpecifies whether IIs will return custom errors for this directory.
DefaultDocuments
stringThe list of default documents to set for this web directory, in comma-delimited format.
DigestAuthentication
wxs:YesNoTypeUnionSets the Digest Authentication option, which allows using digest authentication with domain user accounts. Defaults to ‘no.’
Execute
wxs:YesNoTypeUnionHttpExpires
stringValue to set the HttpExpires attribute to for a Web Dir in the metabase.
Id
stringIdentifier for the WebDirProperties. The Id is required when the parent is a Fragment, Module, or Package. Otherwise, Id is optional and if not specified, it will be generated.
IIsControlledPassword
wxs:YesNoTypeUnionSets whether IIS should control the password used for the Windows account specified in the AnonymousUser attribute. Defaults to ‘no.’
Index
wxs:YesNoTypeUnionSets the Index Resource option, which specifies whether this web directory should be indexed. Defaults to ‘no.’
LogVisits
wxs:YesNoTypeUnionSets whether visits to this site should be logged. Defaults to ‘no.’
PassportAuthentication
wxs:YesNoTypeUnionSets the Passport Authentication option, which allows clients to provide credentials via a .Net Passport account. Defaults to ‘no.’
Read
wxs:YesNoTypeUnionScript
wxs:YesNoTypeUnionWindowsAuthentication
wxs:YesNoTypeUnionSets the Windows Authentication option, which enables integrated Windows authentication to be used on the site. Defaults to ‘no.‘