I have the following settings:
Web.config
Authentication Mode = "Windows"
Virtual Directory -> Enable Anonymous Access - UNCHECKED -> Integrated Windows Authentication - CHECKED
When the user goes to the default page on the intranet, they will be asked to enter the username and password, even if they have already authenticated
** UPDATE: To clarify what I'm doing - We have an application that is configured to authenticate windows = forms - There was a request that for certain servers on the intranet we would like to bypass the login.aspx page - Everything that the login page does. aspx, grabs the Windows username, checks the database, gets the username and password of the form and allows the user to log in - I use User.Identity.Name to get the Windows username to do the mapping
**
source
share