共用方式為


AuthFlags

The AuthFlags property contains the settings for the Windows authentication schemes that are returned to clients as being available. This property contains the file access authentication flags, which are listed below in the Flags section.

Schema Attributes

Attribute Name

Value

ADSI/WMI Data Type

DWORD

ABO Data Type

DWORD_METADATA

Schema Default

AuthAnonymous

Internal Default

AuthAnonymous | AuthNTLM

Upper Bound

0

Lower Bound

Not specified

Internal ID

6000

Friendly ID

MD_AUTHORIZATION

Property Attributes

INHERIT

User Type

IIS_MD_UT_FILE

Configurable Locations

You can configure this property at the following locations in the IIS metabase.

Metabase Path

IIS Admin Object Type

/LM/W3SVC

IIsWebService

/LM/W3SVC/n

IIsWebServer

/LM/W3SVC/n/ROOT/file_name

/LM/W3SVC/n/ROOT/virtual_directory_name/file_name

IIsWebFile

/LM/W3SVC/n/ROOT/physical_directory_name

/LM/W3SVC/n/virtual_directory_name/physical_directory_name

IIsWebDirectory

/LM/W3SVC/n/ROOT

/LM/W3SVC/n/ROOT/virtual_directory_name

IIsWebVirtualDir

/LM/NNTPSVC

IIsNntpService

/LM/NNTPSVC/n

IIsNntpServer

/LM/SMTPSVC

IIsSmtpService

/LM/SMTPSVC/n

IIsSmtpServer

Flags

Flag Name

AuthAnonymous

Versions Applicable

[IIS 5.0][IIS 5.1][IIS 6.0]

Description

Specifies Anonymous authentication as one of the possible Windows authentication schemes returned to clients as being available.

Bitmask

1 (hex 0x00000001)

Friendly Bitmask ID

MD_AUTH_ANONYMOUS

Internal ID

6218

Flag Name

AuthBasic

Versions Applicable

[IIS 5.0][IIS 5.1][IIS 6.0]

Description

Specifies Basic authentication as one of the possible Windows authentication schemes returned to clients as being available.

Bitmask

2 (hex 0x00000002)

Friendly Bitmask ID

MD_AUTH_BASIC

Internal ID

6219

Flag Name

AuthMD5

Versions Applicable

[IIS 6.0]

Description

Specifies Digest authentication and Advanced Digest authentication as one of the possible Windows authentication schemes returned to clients as being available.

Bitmask

16 (hex 0x00000010)

Friendly Bitmask ID

MD_AUTH_MD5

Internal ID

6221

Flag Name

AuthNTLM

Versions Applicable

[IIS 5.0][IIS 5.1][IIS 6.0]

Description

Specifies Integrated Windows authentication (formerly known as Challenge/Response or NTLM authentication) as one of the possible Windows authentication schemes returned to clients as being available. Windows authentication schemes can be configured via the NTAuthenticationProviders property.

Bitmask

4 (hex 0x00000004)

Friendly Bitmask ID

MD_AUTH_NT

Internal ID

6220

Flag Name

AuthPassport

Versions Applicable

[IIS 6.0]

Description

A value of true indicates that Microsoft ? .NET Passport authentication is enabled. For more information, see .NET Passport Authentication in the Help that comes with IIS Manager.

Bitmask

64 (hex 0x00000040)

Friendly Bitmask ID

MD_AUTH_PASSPORT

Internal ID

6299

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

See Also