语言

HttpAuthenticationHardeningLevel 枚举

定义

指定 Http.Sys 身份验证强化级别,用于控制针对基础 TLS 通道验证 HTTP 身份验证(Kerberos/NTLM)的严格程度。

public enum HttpAuthenticationHardeningLevel
type HttpAuthenticationHardeningLevel = 
Public Enum HttpAuthenticationHardeningLevel
继承
HttpAuthenticationHardeningLevel

字段

名称 值 说明
Legacy 0

Http.Sys 不强制实施通道绑定验证,也不会向应用程序公开 RFC 5929 TLS 通道绑定令牌。 这与预先强化的默认行为匹配。

Medium 1

Http.Sys 在客户端提供通道绑定令牌时验证通道绑定令牌,但可以容忍其缺席。 每个请求的 TLS 通道绑定令牌将公开给应用程序。

Strict 2

Http.Sys 要求对经过身份验证的请求使用通道绑定令牌,并拒绝没有通道的令牌。 每个请求的 TLS 通道绑定令牌将公开给应用程序。

注解

对应于应用于 URL 组的 HttpServerChannelBindPropertyWin32 HTTP_AUTHENTICATION_HARDENING_LEVELShttps://learn.microsoft.com/windows/win32/api/http/ne-http-http_authentication_hardening_levels 枚举。

设置为或设置为 Http.Sys 时,还会指示 Http.Sys 附加每个请求,以便应用程序可以通过 <a0/> 检索 RFC 5929 TLS 通道绑定令牌。

适用于