Asp.Net windows authentication: is it possible not to ask login if user is already logged in active directory? -


I am developing an ASP.NET application. The app will primarily be used by intranet users in intranet environments. I have enabled Windows AHT antactin and my app works:

  1. In a developing environment, I automatically logged in without asking this username

  2. < Li>

    With a Windows Server Production Environment, with Windows authentication, this user name and password (active directory) ask user logs correctly

My question is: - Can it be able to automatically identify If you have logged in username and password without asking Windows users already?

You can customize your app in Windows authentication in web.config < / Code>. did you try it?

& lt; System.web & gt; ... & lt; Authentication mode = "Windows" /> ... & lt; /system.web>

More information can be found at:

& lt; - Edit --->

You also need to configure your website in IIS to use Windows Authorization. In IIS, go to your website, double click on authentication Do, disable anonymous authentication, enable Windows authentication. In Windows certification, the open provider ... (on the right hand side), make sure that the NTLM is visible and has moved to the top of the list. Restart your app pool and you should now be able to automatically log in users.


Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -