AuthFlags Metabase Property

Applies To: Windows Server 2003, Windows Server 2003 with SP1

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.

Attribute Name Attribute Value

XML Data Type

DWORD

WMI Data Type

SINT32

ADSI Data Type

DWORD

ABO Data Type

DWORD

ABO Metabase Identifier

MD_AUTHORIZATION

Attributes

INHERIT

Default Value

authanonymous

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_FILE

ID

6000

Configurable Locations

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

Metabase Path IIS Admin Object Type

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

IIsWebVirtualDir

/LM/W3SVC/n

IIsWebServer

/LM/W3SVC

IIsWebService

/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/NNTPSVC

IIsNntpService

/LM/NNTPSVC/n

IIsNntpServer

/LM/SMTPSVC

IIsSmtpService

/LM/SMTPSVC/n

IIsSmtpServer

Flags

Flag Name AuthAnonymous

Description

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

Metabase Bitmask Identifier

MD_AUTH_ANONYMOUS

Decimal Value

1

Hexadecimal Value

0x00000001

Flag Name AuthBasic

Description

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

Metabase Bitmask Identifier

MD_AUTH_BASIC

Decimal Value

2

Hexadecimal Value

0x00000002

Flag Name AuthMD5

Description

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

Metabase Bitmask Identifier

MD_AUTH_MD5

Decimal Value

16

Hexadecimal Value

0x00000010

Flag Name AuthNTLM

Description

Specifies Integrated Windows authentication (also known as Challenge/Response or NTLMauthentication) as one of the possible Windows authentication schemes returned to clients as being available.

Metabase Bitmask Identifier

MD_AUTH_NT

Decimal Value

4

Hexadecimal Value

0x00000004

Flag Name AuthPassport

Description

A value of true indicates that Microsoft .NET Passport authentication is enabled. For more information, see .NET Passport Authentication in IIS 6.0.

Metabase Bitmask Identifier

MD_AUTH_PASSPORT

Decimal Value

64

Hexadecimal Value

0x00000040

Code Example

For general code examples, see Code Examples to Configure Metabase Properties.