LegacyAuthenticationLevel

Sets the default authentication level for applications that do not call CoInitializeSecurity.

Registry Entry

HKEY_LOCAL_MACHINE\Software\Microsoft\OLE\
              LegacyAuthenticationLevel= default_authentication_level

Remarks

LegacyAuthenticationLevel is a named-value is a REG_WORD that sets the default level of authentication for all applications which do not call CoInitializeSecurity12NDMS. Values are from 1 through 6, and correspond to the RPC_C_AUTHN_LEVEL_xxx1.DJZN2 constants:

Value

Meaning

1

RPC_C_AUTHN_LEVEL_NONE

2

RPC_C_AUTHN_LEVEL_CONNECT

3

RPC_C_AUTHN_LEVEL_CALL

4

RPC_C_AUTHN_LEVEL_PKT

5

RPC_C_AUTHN_LEVEL_PKT_INTEGRITY

6

RPC_C_AUTHN_LEVEL_PKT_PRIVACY

 

When this named-value is not present, the default authentication level established by the system is 2 (RPC_C_AUTHN_CONNECT).

See Also

CoInitializeSecurity, RPC_C_AUTHN_LEVEL_xxx, Registering COM Servers