title: Windows Authentication for ASP.NET MVC 4 - how it works, how to test it
body: <p>I have never used Windows Authentication for <a href="http://en.wikipedia.org/wiki/ASP.NET_MVC_Framework" rel="noreferrer">ASP.NET MVC</a> web applications before, but Forms Authentication. Recently, I have had an ASP.NET MVC 4 web application that requires a Windows Authentication implementation for users who are granted to log in my company web server.  So, I have some questions regarding Windows Authentication. I am using Visual&nbsp;Studio&nbsp;2012.</p>
  
  <ul>
  <li><p>How does Windows Authentication work?</p></li>
  <li><p>How do I implement Windows Authentication correctly in the web.config file?</p></li>
  <li><p>How do I test if the Windows Authentication really works for my ASP.NET&nbsp;MVC 4 web site? In other words, how do I test it on my local development PC with local <a href="http://en.wikipedia.org/wiki/Internet_Information_Services" rel="noreferrer">IIS</a> (version 8), and on my company real web server with IIS version 7?</p></li>
  </ul>