Click here to Skip to main content
15,942,148 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all,

i have a website with window authentication. everything works fine on authentication for user based on active directory log in. just need to change one setting on IIS / web config. whenever first time user open the site it asks for the authentication. it do not automatic get the log in from active directory. after first time it works fine and not asking for log in again.
Posted
Comments
Artefakt94 25-Feb-14 5:23am    
Can we see your code ?
ravikhoda 25-Feb-14 5:27am    
there are some setting on Iis based on window authentication and we use user.identity class to get user name from active directory. besides that there is no actual code. its just we use window authentication in web config.

1 solution

Disable anonymous access and just use 'Integrated Windows Authentication'

In Internet Explorer go to Tools -> Internet Option -> Security -> Custom Level -> Scroll the bottom and select "Automatic Login with current user name and password”.
 
Share this answer
 
Comments
ravikhoda 1-Apr-14 4:54am    
hi can we set something from IIS my client do not want to add any site to trusted zone or something belongs to browser setting. we are using window authentication in one of site which will run on intranet and all user will be part of domain / network so they do not want login popup...

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