AuthFlags
AuthFlags contains the settings for the Windows authentication schemes that are returned to clients as being available. This property contains the file access authentication flags, as seen 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 |
StartingNumber | Not applicable |
EndingNumber | 0 |
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 | AuthBasic |
---|---|
Description |
Specifies Basic authentication as one of the possible Windows authentication schemes returned to clients as being available.
|
Metabase Bitmask Identifier | MD_AUTH_BASIC |
Decimal Value | 2 |
Hex Value | 0x00000002 |
Flag Name | AuthAnonymous |
---|---|
Description |
Specifies anonymous authentication as one of the possible Windows authentication schemes returned to clients as being available.
|
Metabase Bitmask Identifier | MD_AUTH_ANONYMOUS |
Decimal Value | 1 |
Hex Value | 0x00000001 |
Flag Name | AuthNTLM |
---|---|
Description |
Specifies integrated Windows authentication (also known as Challenge/Response or NTLM authentication) as one of the possible Windows authentication schemes returned to clients as being available.
|
Metabase Bitmask Identifier | MD_AUTH_NT |
Decimal Value | 4 |
Hex Value | 0x00000001 |
Flag Name | AuthMD5 |
---|---|
Description |
Specifies digest and Advanced Digest authentication as one of the possible Windows authentication schemes returned to clients as being available.
|
Metabase Bitmask Identifier | |
Decimal Value | 16 |
Hex Value | 0x00000010 |
Flag Name | AuthPassport |
---|---|
Description |
A value of true indicates that Passport authentication is enabled. For more information, see ".NET Passport Authentication" in IIS Help, which is accessible from IIS Manager.
|
Metabase Bitmask Identifier | MD_AUTH_PASSPORT |
Decimal Value | 64 |
Hex Value | 0x00000040 |
Code Example
For general code examples, please see Code Examples to Configure Metabase Properties