如何自动验证窗口集成,而不登录弹出? [英] How to automatically authenticate windows integrate without login popup?
问题描述
我写了一个Default.aspx的asp.net应用程序。当我打这个页问我Windows登录弹出窗口。我的应用程序应该要求我的Windows身份验证,但它应该集成Windows身份验证。如果我输入登录密码,我能看到我的网页。
I wrote an asp.net application with default.aspx. When I hit this page It is asking me windows login popup window. My application should me windows authentication required but it should "Integrated Windows authentication". If I enter login password I am able to see my page.
我怎样才能自动集成这个windows身份验证?
How can I automatically integrate this windows authentication?
我在下面加code在web.config中。仍然无法正常工作。
I added below code in web.config. still doesn't work.
<authentication mode="Windows"/>
<identity impersonate="false"/>
<authorization>
<deny users="?"/>
</authorization>
推荐答案
您想禁用匿名访问,只是使用集成Windows身份验证。
You would want to disable anonymous access and just use "Integrated Windows Authentication".
然后在Internet Explorer中,转到工具 - > Internet选项 - >安全 - >自定义级别 - >全路滚动至底部,并选择使用当前用户名和密码自动登录 - >确定 - >确定 - >关闭并重新打开浏览器。
Then in Internet Explorer go to Tools -> Internet Option -> Security -> Custom Level -> Scroll the whole way to the bottom and select "Automatic Login with current user name and password" -> OK -> OK -> Close and reopen browser.
这应该允许验证用户的AD通过到您的网页直传球。
This should allow an AD authenticated user to pass straight through to your page.
这篇关于如何自动验证窗口集成,而不登录弹出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!