Saturday, September 15, 2012

MVC 3: Cross Site Request Forgery protection

write @Html.AntiForgeryToken() in view to generate any forgery token (hidden textbox)
and use [ValidateAntiForgeryToken] on action to validate that request has valid anti forgery token

Share This!


No comments:

Powered By Blogger · Designed By Seo Blogger Templates