Share via


anonymousAuthentication Element authentication for security for ftpServer for site for sites [IIS Settings Schema]

Note

For more information about the anonymousAuthentication element, see the following topic on the Microsoft IIS.net Web site: FTP Anonymous Authentication <anonymousAuthentication>.

Specifies the settings for anonymous access to an FTP site.

Syntax

Attributes and Elements

The following sections describe attributes, child elements, and parent elements for this section.

Attributes

Attribute

Description

defaultLogonDomain

Optional string attribute.

Specifies the default ___domain for anonymous user account lookups.

The default value is NT AUTHORITY.

enabled

Optional Boolean attribute.

Specifies whether Anonymous authentication is enabled.

The default value is false.

logonMethod

Optional enum attribute.

Specifies the logon type for the anonymous user as interpreted by the LogonUser Win32 API.

ValueDescription
InteractiveSpecifies the interactive logon type. The numeric value is 0.
BatchSpecifies the batch logon type. The numeric value is 1.
NetworkSpecifies the network logon type. The numeric value is 2.
ClearTextSpecifies the clear text logon type. The numeric value is 3.

The default value is ClearText.

password

Optional string attribute.

Specifies the password for the anonymous user account.

There is no default value.

userName

Optional string attribute.

Specifies the user name for the anonymous user account.

The default value is IUSR.

Child Elements

None.

Parent Elements

Element

Description

configuration

Specifies the root element in every configuration file that is used by IIS 7.

system.applicationHost

Specifies the root element for configuring Web process settings.

sites

Defines all sites on the server, and all applications and virtual directories in those sites.

site

Specifies configuration settings for a site.

ftpServer

Specifies the site-level settings for FTP features for FTP sites.

security

Specifies the site-level security options for an FTP site.

authentication

Specifies the site-level authentication settings for an FTP site.

Remarks

For more information about the anonymousAuthentication element, see the following topic on the Microsoft IIS.net Web site: FTP Anonymous Authentication <anonymousAuthentication>.

Element Information

Configuration locations

ApplicationHost.config

Requirements

IIS 7

See Also

Reference

authentication Element for security for ftpServer for site for sites [IIS Settings Schema]