AuthPersistence
The AuthPersistence property specifies authentication persistence across requests on a connection using NTLM authentication.
**[IIS 6.0]**When the AuthPersistSingleRequest flag is set to true when using NTLM authentication, IIS 6.0 automatically reauthenticates every request, even those on the same connection. (Reauthenticating every request also occurs on all other authentication schemes.)
**[IIS 5.0][IIS 5.1]**On IIS 5.0 and IIS 5.1, there are two other flags for the AuthPersistence property specifying persistence based on the existence of a proxy server.
Schema Attributes
Attribute Name |
Value |
---|---|
DWORD |
|
DWORD_METADATA |
|
AuthPersistSingleRequest |
|
Not specified. |
|
0 |
|
Not specified |
|
6031 |
|
MD_AUTHORIZATION_PERSISTENCE |
|
INHERIT |
|
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 |
Flags
Flag Name |
AuthPersistSingleRequest |
---|---|
Versions Applicable |
[IIS 5.0][IIS 5.1][IIS 6.0] |
Description |
Setting this flag to true specifies that authentication persists only for a single request on a connection. IIS resets the authentication at the end of each request, and forces re-authentication on the next request of the session. |
64 (hex 0x00000040) |
|
MD_AUTH_SINGLEREQUEST |
|
6283 |
Flag Name |
AuthPersistSingleRequestAlwaysIfProxy |
---|---|
Versions Applicable |
[IIS 5.0][IIS 5.1] |
Description |
Setting this flag to true specifies that authentication is valid for a single request if by proxy. IIS will reset the authentication at the end of the request and force re-authentication on the next request if the current authenticated request is by proxy of any type. |
256 (hex 0x00000100) |
|
MD_AUTH_SINGLEREQUESTALWAYSIFPROXY |
|
6285 |
Flag Name |
AuthPersistSingleRequestIfProxy |
---|---|
Versions Applicable |
[IIS 5.0][IIS 5.1] |
Description |
Setting this flag to true specifies authentication will persist only across single requests on a connection if the connection is by proxy. IIS will reset the authentication at the end of the request if the current authenticated request is by proxy and it is not the special case where IIS is running MSPROXY. |
128 (hex 0x00000080) |
|
MD_AUTH_SINGLEREQUESTIFPROXY |
|
6284 |
Requirements
Client: Requires or Windows XP Professional.
Server: Requires or Windows Server 2003.
Product: IIS