大网数据广告活动
Windows 系统接口

Authentication Level

· 52CE 我爱测

The authentication level controls how much security a client or server wants from its SSP.

The authentication level controls how much security a client or server wants from its SSP. The authentication level is set by passing an appropriate RPC_C_AUTHN_LEVEL_xxx value to CoInitializeSecurity or CoSetProxyBlanket through the dwAuthnLevel parameter. The authentication levels from the client and server are compared during the handshake, and the higher level security protection setting is used for the connection.

The different authentication levels are described as follows, from lowest level security protection to highest:

None (RPC_C_AUTHN_LEVEL_NONE)

No authentication is performed during the communication between client and server. All security settings are ignored. This authentication level can be set only if the authentication service level is RPC_C_AUTHN_NONE.

Default (RPC_C_AUTHN_LEVEL_DEFAULT)

COM chooses the authentication level by using its normal security blanket negotiation. It will never choose an authentication level of None.

Connect (RPC_C_AUTHN_LEVEL_CONNECT)

The normal authentication handshake occurs between the client and server, and a session key is established but that key is never used for communication between the client and server. All communication after the handshake is nonsecure.

Call (RPC_C_AUTHN_LEVEL_CALL)

Only the headers of the beginning of each call are signed. The rest of the data exchanged between the client and server is neither signed nor encrypted. Most SSPs do not support this authentication level and silently promote it to Packet.

Packet (RPC_C_AUTHN_LEVEL_PKT)

The header of each packet is signed but not encrypted. The packets themselves are not signed or encrypted.

Packet Integrity (RPC_C_AUTHN_LEVEL_PKT_INTEGRITY)

Each packet of data is signed in its entirety but is not encrypted. Because all of the data is signed by the sender, the recipient can be certain that none of the data has been tampered with during transit.

Packet Privacy (RPC_C_AUTHN_LEVEL_PKT_PRIVACY)

Each data packet is signed and encrypted. This helps protect the entire communication between the client and server.

Related topics

AuthenticationLevel

LegacyAuthenticationLevel

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。