【问题标题】:Activate windows authentification in asp.net mvc在 asp.net mvc 中激活 windows 身份验证
【发布时间】:2013-09-15 14:43:01
【问题描述】:

我想指定用户的配置文件如何访问我的 asp.net mvc 应用程序,所以我把

 <authentication mode="Windows" />
    <authorization>
      <allow users="Afif"/>
      <deny users="?"/>
   </authorization>

但 Windows 身份验证不起作用。谷歌搜索后,我发现我必须在IIS Manager 中激活 Windows 身份验证

但我没有在屏幕截图中找到 Windows 身份验证。 我该如何解决?

【问题讨论】:

    标签: asp.net .net asp.net-mvc authentication authorization


    【解决方案1】:

    安装 IIS 时,必须安装 Windows 身份验证功能。回到 Windows 组件,并更改 IIS 以包含 Windows 身份验证功能。请参阅此blog post 或尝试此superuser post

    【讨论】:

    • 抱歉链接是关于 iis6 和 iis7 但我有另一个版本的 iis (8.0) 所以这两个解决方案都不起作用
    • 在 Windows 8 上?看到这个:superuser.com/questions/482428/…
    猜你喜欢
    • 1970-01-01
    • 2021-01-23
    • 1970-01-01
    • 2015-01-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-09-24
    • 1970-01-01
    相关资源
    最近更新 更多