Get logged-in user from windows to automatically authenticate to a site published in IIS 7.5

2

I'm creating a web application with ASP.NET MVC 5, where when a network user accesses the address of my application via the browser, the systems already automatically pick up which user is trying to login to the application. I currently have to type domain \ username and password.   Andinmyweb.configI'musing,butIwouldlikethesystemtoaskforusernameandpasswordonlyiftheuserwasnotinthedomain.RememberthatthisapplicationisalreadypublishedontheIIS7.5server.

Can anyone help me, please ????

    
asked by anonymous 23.11.2016 / 14:50

1 answer

3

Unfortunately, or fortunately, there is no way to standardize. This goes from browser to browser.

In Internet Explorer and Chrome, it can perform this authentication automatically. If you'd like to modify the settings, this answer shows you how to do this.

Already in Firefox, you need to use some add-on ( as said by @jbueno ), such as Integrated Authentication or change the default setting of firefox (depending on the version of firefox).

    
23.11.2016 / 16:02