Click here to Skip to main content
15,880,967 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
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.



XML
<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>


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.
Posted
Updated 1-Apr-14 21:01pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900