#Stackoverflow question 12378445 ASP.Net MVC 3 - Password Protect View This is the source code for the Answer at http://stackoverflow.com/a/12378789/28004