【发布时间】:2015-01-12 16:40:55
【问题描述】:
使用 ASP.NET - 尝试使用表单身份验证和 Windows 身份验证添加两级身份验证。
只需关注http://mvolo.com/iis-70-twolevel-authentication-with-forms-authentication-and-windows-authentication/ 上的麦克风
他要求我们做的第一件事:
1. Unlock the <anonymousAuthentication> and <windowsAuthentication> configuration sections before you can use them in web.config:
> %windir%system32inetsrvappcmd unlock config /section:anonymousAuthentication
> %windir%system32inetsrvappcmd unlock config /section:windowsAuthentication
我似乎找不到这是在哪里完成的。他是指 web.config 文件吗?或编辑 machine.config 文件?在 Windows/Microsoft.NET/Framework64/etc... 文件夹中
请指教
【问题讨论】:
标签: c# asp.net authentication active-directory web-config