I am working on ASP.Net MVC-4 application. I have to implement windows authentication.
I have set authentication mode as \'Windows\' in web.config file as shown below.
Windows authentication is performed by IIS to establish our managed code User.Identity. Therefore, you need to enable Windows Authentication in your IIS, and in order to force the user to authenticate before being able to access our application, you need to disable Anonymous Authentication