title: ASP.NET MVC and mixed mode authentication
body: <p>I have a scenario whereby I require users to be able to authenticate against an ASP.NET MVC web application using either Windows authentication or Forms authentication. If the user is on the internal network they will use Windows authentication and if they are connecting externally they will use Forms authentication. I’ve seen quite a few people asking the question how do I configure an ASP.NET MVC web application for this, but I haven’t found a complete explanation.</p>
  
  <p>Please can someone provide a detailed explanation, with code examples, on how this would be done?</p>
  
  <p>Thanks.</p>
  
  <p>Alan T</p>