Skip to main content
Version: v3

WebDirProperties Element (Iis Extension)

Description
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.
Windows Installer references
None
Parents
Fragment, Module, Product, WebDir, WebSite, WebVirtualDir
Inner Text
None
Children
None
Attributes
NameTypeDescriptionRequired
IdString Yes
AccessSSLYesNoTypeA 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. 
AccessSSL128YesNoTypeA 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. 
AccessSSLMapCertYesNoTypeThis corresponds to AccessSSLMapCert flag for AccessSSLFlags IIS metabase property. 
AccessSSLNegotiateCertYesNoTypeThis corresponds to AccessSSLNegotiateCert flag for AccessSSLFlags IIS metabase property. 
AccessSSLRequireCertYesNoTypeThis corresponds to AccessSSLRequireCert flag for AccessSSLFlags IIS metabase property. 
AnonymousAccessYesNoTypeSets 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.' 
AnonymousUserStringReference 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. 
AspDetailedErrorYesNoTypeSets the option for whether to send detailed ASP errors back to the client on script error. Default is 'no.' 
AuthenticationProvidersStringComma delimited list, in order of precedence, of Windows authentication providers that IIS will attempt to use: NTLM, Kerberos, Negotiate, and others. 
BasicAuthenticationYesNoTypeSets the Basic Authentication option, which allows clients to provide credentials in plaintext over the wire. Defaults to 'no.' 
CacheControlCustomStringCustom HTTP 1.1 cache control directives. 
CacheControlMaxAgeNonNegativeIntegerInteger value specifying the cache control maximum age value. 
ClearCustomErrorYesNoTypeSpecifies whether IIs will return custom errors for this directory. 
DefaultDocumentsStringThe list of default documents to set for this web directory, in comma-delimited format. 
DigestAuthenticationYesNoTypeSets the Digest Authentication option, which allows using digest authentication with domain user accounts. Defaults to 'no.' 
ExecuteYesNoType  
HttpExpiresStringValue to set the HttpExpires attribute to for a Web Dir in the metabase. 
IIsControlledPasswordYesNoTypeSets whether IIS should control the password used for the Windows account specified in the AnonymousUser attribute. Defaults to 'no.' 
IndexYesNoTypeSets the Index Resource option, which specifies whether this web directory should be indexed. Defaults to 'no.' 
LogVisitsYesNoTypeSets whether visits to this site should be logged. Defaults to 'no.' 
PassportAuthenticationYesNoTypeSets the Passport Authentication option, which allows clients to provide credentials via a .Net Passport account. Defaults to 'no.' 
ReadYesNoType  
ScriptYesNoType  
WindowsAuthenticationYesNoTypeSets the Windows Authentication option, which enables integrated Windows authentication to be used on the site. Defaults to 'no.' 
WriteYesNoType  
See Also
Iis Schema