HttpSysOptions.HttpAuthenticationHardeningLevel 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
配置 Http.Sys 身份验证强化级别。 非Legacy 值指示 Http.Sys 根据经过身份验证的请求验证 RFC 5929 TLS 通道绑定令牌(CBT),并通过该 TryGetChannelBindingBytes(ChannelBindingKind, ReadOnlyMemory<Byte>)请求向应用程序公开每请求 CBT。 默认值为 Medium。
public Microsoft.AspNetCore.Server.HttpSys.HttpAuthenticationHardeningLevel HttpAuthenticationHardeningLevel { get; set; }
member this.HttpAuthenticationHardeningLevel : Microsoft.AspNetCore.Server.HttpSys.HttpAuthenticationHardeningLevel with get, set
Public Property HttpAuthenticationHardeningLevel As HttpAuthenticationHardeningLevel
属性值
注解
将此设置为Medium或Strict两者都引发强化级别,并在 URL 组HttpServerChannelBindProperty的标记上设置HTTP_CHANNEL_BIND_SECURE_CHANNEL_TOKEN标志。