窗口验证删除登录提示? [英] window authentication remove login prompt?

查看:67
本文介绍了窗口验证删除登录提示?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI all



i已经在我的网站上使用活动目录设置了窗口身份验证。



以下是我在web配置文件中的设置。





i启用了asp.net模拟和窗口身份验证。所有其他身份验证都是禁用







HI all

i have set up window authentication using active directory in my website.

below is my setting in web config file.


i have asp.net impersonation and window authentication enabled. all other authentication are disable.



<configuration>
  <system.web>
    <compilation debug="true" targetFramework="4.0" />
	  <identity impersonate="true" />
	  <authentication mode="Windows">
		 
	  </authentication>
     
	  <authorization>
		
		  <deny users="?" />
	  </authorization>
  </system.web>
  <system.webServer>
		<validation validateIntegratedModeConfiguration="false" />
	  
	  <security>
		  
		  <authorization>
			  <add users="domainname\username" accessType="Allow" verbs="GET,HEAD,POST"></add>
		  </authorization>
	  </security>
	</system.webServer>
</configuration>





现在这个工作正常但我们想隐藏登录提示用户写URL时的浏览器。我不想从浏览器设置中将URL设置为可信站点。我知道我们可以从IIS做的事情,但不知道确切的设置。



now this works OK but we want to hide the login prompt on the browser when user write URL. i don't want to set URL as trusted site from browser setting. i know that something we can do from IIS but don't know exact settings.

推荐答案

这篇关于窗口验证删除登录提示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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