ASP.NET MVC and mixed mode authentication

Posted by Alan T on Stack Overflow See other posts from Stack Overflow or by Alan T
Published on 2010-03-12T13:06:08Z Indexed on 2010/03/12 13:07 UTC
Read the original article Hit count: 747

Filed under:
|

Hi All

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.

Please can someone provide a detailed explanation, with code examples, on how this would be done?

Thanks.

Alan T

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about mixed-mode