Category Archives: MVC

Reminder: Your publics are public.

A simple solution to the ASP.NET MVC Mass Assignment vulnerability, and a reminder on visibility modifiers on View Models. Continue reading

Posted in .NET, C#, MVC | Tagged , , , , , , , | Leave a comment

MVC AntiForgeryToken and WIF gotcha

We are in the process of implementing a Windows Identity Foundation based login. And in this process, we had some problems with an MVC site. The AntiForgeryTokens were suddenly invalid. We got the following error on every postback in our … Continue reading

Posted in .NET, C#, MVC, WIF | 4 Comments