IIS 7 - 将订单更改为NTLM身份验证和协商

时间:2014-06-02 21:07:55

标签: iis windows-authentication provider

使用以下命令,我可以添加' Negotiate'和NTLM'作为Windows身份验证的提供者

C:\ Windows \ SysWOW64 \ inetsrv \ appcmd set config"默认网站/ LIT / My.Site" -section:system.webServer / security / authentication / windowsAuthentication /+providers.[value='Negotiate'] / commit:apphost

C:\ Windows \ SysWOW64 \ inetsrv \ appcmd set config"默认网站/ LIT / My.Site" -section:system.webServer / security / authentication / windowsAuthentication /+providers.[value='NTLM'] / commit:apphost

我的问题是使用命令行如何更改提供商的顺序。例如我想要' NTLM'然后'谈判'

1 个答案:

答案 0 :(得分:0)

删除它们,然后按顺序添加。

相关问题