Windows身份验证仅适用于当前用户,不适用于所有域用户

时间:2014-12-04 14:48:49

标签: asp.net-mvc-3 iis-7.5 windows-authentication

我正在研究mvc3项目并使用Windows身份验证进行身份验证。 它正在处理我的凭据,但是当我尝试使用相同的域登录不同的用户时,它无法正常工作。 以下是我的web.config中的设置

<authentication mode="Windows" />
 <authorization>
  <allow roles="domainname\Domain Users" />
  <allow users="domainname\username" />
  <!--<deny users="*" />-->

   <!--<deny users="?"></deny>-->
</authorization>
 <appSettings>
     <add key="autoFormsAuthentication" value="false" />
     <add key="enableSimpleMembership" value="false" />
</appSettings>

在IIS服务器中我设置了windows authentication = enabled和匿名身份验证=禁用

我错过了什么或做错了什么?请帮忙

0 个答案:

没有答案
相关问题