使用Windows凭证登录&活动目录 [英] Login using windows credential & active directory

查看:180
本文介绍了使用Windows凭证登录&活动目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以不要求登录页面。我希望应用程序使用Windows凭据。因此,当他们访问该页面时,如果他们的用户名在AD组中,他们会没事,但如果他们没有,那么他们将无法访问它。





我尝试过:



<身份验证模式=Windows/> 
< authorization>
< deny users =? />
< / authorization>
< identity impersonate =true/>

解决方案

请查看以下链接寻求帮助:



在ASP.Net会员中对没有登录控制的用户进行身份验证 [ ^ ]





asp.net - 如何在没有登录控制的情况下使用表单身份验证? - 堆栈溢出 [ ^ ]

Is it possible to not require a login page. I want the application to use the windows credentials. So that when they access the page, if their user name is in the AD group they'll be fine but if they aren't then they won't be able to access it.



What I have tried:

<authentication mode="Windows" />
   <authorization>
     <deny users="?" />
   </authorization>
   <identity impersonate="true" />

解决方案

Please look into below Links for help:

Authenticate users without Login Control in ASP.Net Membership[^]


asp.net - How to use forms authentication without login control? - Stack Overflow[^]


这篇关于使用Windows凭证登录&amp;活动目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆