Monday, June 14, 2010

Anti-Forgery Request Recipes For ASP.NET MVC And AJAX

Some insightful solutions for anti-forgery request scenarios in ASP.NET MVC and AJAX:

  • How to enable validation on controller, instead of on each action;
  • How to specify non-constant token salt in runtime;
  • How to work with the server side validation in AJAX scenarios.

Source: http://weblogs.asp.net/dixin/archive/2010/05/22/anti-forgery-request-recipes-for-asp-net-mvc-and-ajax.aspx

No comments: