AuthenticationTypes.SecureSocketsLayer 和 AuthenticationTypes.Secure 有什么区别?
What is the difference between AuthenticationTypes.SecureSocketsLayer and AuthenticationTypes.Secure?
我在 MSDN 中了解了这两种类型:
但是,我不完全确定我理解其中的区别。
如果我理解正确请告诉我,
AuthenticationTypes.SecureSocketsLayer is used to secure the packets
sent in via the ldap communication.
AuthenticationTypes.Secure is used to secure the connection, i.e.
prevent from attacker to use an ldap query without authentication.
谢谢
AuthenticationTypes.SecureSocketsLayer 使用 SSL,它使用证书进行身份验证并加密流量。所以到 AuthenticationTypes.SecureSocketsLayer 它已经 "secured".
对于 AuthenticationTypes.Secure,它使用 NTLM 或 Kerberos 进行身份验证(因此密码已加密)。但其他流量(如请求的对象、它们的属性名称和值)未加密。要加密,还需要指定 Sealing 标志(与 Secure 一起)。但这需要 Kerberos。
这 2 个标志指的是确保连接安全的不同方式,因此通常不会一起使用(我从未尝试将它们放在一起)。
我在 MSDN 中了解了这两种类型:
但是,我不完全确定我理解其中的区别。
如果我理解正确请告诉我,
AuthenticationTypes.SecureSocketsLayer is used to secure the packets sent in via the ldap communication.
AuthenticationTypes.Secure is used to secure the connection, i.e. prevent from attacker to use an ldap query without authentication.
谢谢
AuthenticationTypes.SecureSocketsLayer 使用 SSL,它使用证书进行身份验证并加密流量。所以到 AuthenticationTypes.SecureSocketsLayer 它已经 "secured".
对于 AuthenticationTypes.Secure,它使用 NTLM 或 Kerberos 进行身份验证(因此密码已加密)。但其他流量(如请求的对象、它们的属性名称和值)未加密。要加密,还需要指定 Sealing 标志(与 Secure 一起)。但这需要 Kerberos。
这 2 个标志指的是确保连接安全的不同方式,因此通常不会一起使用(我从未尝试将它们放在一起)。