WMI--Windows API--RPC_C_AUTHN_LEVEL_xxx

来源:互联网 发布:大冰讲的铁成是谁 知乎 编辑:程序博客网 时间:2024/06/13 14:46

原文来自MSDN Library for Visual Studio 2008 SP1,翻译部分仅为个人观点,想要看更多信息请看MSDN,如有版权问题请联系QQ 643166601,邮件643166601@qq.com

 

COM
RPC_C_AUTHN_LEVEL_xxx
See Also  

Used in the security functions and interfaces to specify an authentication level, which indicates the amount of authentication provided to help protect the integrity of the data.
用于安全函数中和接口指定一个身份验证等级,指示身份验证的数量提供去帮助保护数据的保存。
Each level includes the protection provided by the previous levels.
每一个等级包含之前等级提供的保护。
  Copy Code
#define RPC_C_AUTHN_LEVEL_DEFAULT         0
#define RPC_C_AUTHN_LEVEL_NONE            1
#define RPC_C_AUTHN_LEVEL_CONNECT         2
#define RPC_C_AUTHN_LEVEL_CALL            3
#define RPC_C_AUTHN_LEVEL_PKT             4
#define RPC_C_AUTHN_LEVEL_PKT_INTEGRITY   5
#define RPC_C_AUTHN_LEVEL_PKT_PRIVACY     6
 

Values
RPC_C_AUTHN_LEVEL_DEFAULT
Tells DCOM to choose the authentication level using its normal security blanket negotiation algorithm.
告诉DCOM使用它的正常安全的安全指针协商算法去选择身份验证等级。
This behavior occurs in Windows 2000 and later versions.
这个行为在Windows 2000 和更高的版本中发生。
In Windows NT 4.0, this value defaults to RPC_C_AUTHN_LEVEL_CONNECT.
在Windows NT 4.0中这个值默认是RPC_C_AUTHN_LEVEL_CONNECT。
For more information, see Security Blanket Negotiation.
更多信息,请看 Security Blanket Negotiation。
RPC_C_AUTHN_LEVEL_NONE
Performs no authentication.
不执行身份验证。

RPC_C_AUTHN_LEVEL_CONNECT
Authenticates the credentials of the client only when the client establishes a relationship with the server.
只有当客户端建立一个和服务器的联系时,身份验证这个客户端的证书。
Datagram transports always use RPC_AUTHN_LEVEL_PKT instead.
数据报传输总是使用RPC_AUTHN_LEVEL_PKT代替。

RPC_C_AUTHN_LEVEL_CALL
Authenticates only at the beginning of each remote procedure call when the server receives the request.
当服务器收到请求时,只验证每个远程过程调用的开始。
Datagram transports use RPC_C_AUTHN_LEVEL_PKT instead.
数据报传输使用RPC_AUTHN_LEVEL_PKT代替。

RPC_C_AUTHN_LEVEL_PKT
Authenticates that all data received is from the expected client.
验证从预期的客户端接收所有的数据。

RPC_C_AUTHN_LEVEL_PKT_INTEGRITY
Authenticates and verifies that none of the data transferred between client and server has been modified.
验证和检验在客户端和服务器之间的数据没有被修改。

RPC_C_AUTHN_LEVEL_PKT_PRIVACY
Authenticates all previous levels and encrypts the argument value of each remote procedure call.
验证所有之前等级和加密每个远程过程调用的参数值。
Windows 95: While Windows 95 can make calls at any level, it can receive calls only at NONE or CONNECT.
Windows 95: 虽然Windows 95可以调用任何等级,她可以接收调用的只有NONE 或 CONNECT。
Requirements
For an explanation of the requirement values, see Requirements (COM).

Windows NT/2000/XP: Requires Windows NT 3.1 or later.

Windows 95/98: Requires Windows 95 or later.

Header: Declared in rpcdce.h.

See Also
Reference
IClientSecurity
IServerSecurity

Send comments about this topic to Microsoft.

 

0 0
原创粉丝点击