Top "Antiforgerytoken" questions

Cryptographic Nonce for anti-CSRF protection

jQuery Ajax calls and the Html.AntiForgeryToken()

I have implemented in my app the mitigation to CSRF attacks following the informations that I have read on some …

asp.net-mvc ajax asp.net-mvc-2 csrf antiforgerytoken
How can I supply an AntiForgeryToken when posting JSON data using $.ajax?

I am using the code as below of this post: First I will fill an array variable with the correct …

asp.net-mvc ajax json antiforgerytoken
Troubleshooting anti-forgery token problems

I have a form post that consistently gives me an anti-forgery token error. Here is my form: @using (Html.BeginForm()) { @…

asp.net-mvc asp.net-mvc-3 antiforgerytoken
The required anti-forgery cookie "__RequestVerificationToken" is not present

My website is raising this exception around 20 times a day, usually the form works fine but there are instances where …

c# jquery asp.net-mvc cookies antiforgerytoken
Web API and ValidateAntiForgeryToken

We have some existing MVC web services that are called AJAX style from web pages. These services make use of …

asp.net-mvc asp.net-web-api antiforgerytoken
RequestVerificationToken does not match

I have a problem with the anti CRSF MVC mechanism. The cookie and the form input returned does not match. …

asp.net-mvc asp.net-mvc-3 security csrf antiforgerytoken
MVC 4 provided anti-forgery token was meant for user "" but the current user is "user"

I've recently put Live a web application which was built using MVC 4 and Entity Framework 5. The MVC application uses Razor …

asp.net-mvc asp.net-mvc-4 razor antiforgerytoken
how does ASP.NET validate anti-forgery token

I wonder how does ASP.NET check if an anti-forgery token is valid or not? Like where is ASP.NET …

asp.net security xss antiforgerytoken
deploying AntiforgeryToken Error

I am working on an ASP.NET MVC application on my local machine using the Visual Studio 2012 built in IISExpress. …

asp.net-mvc web-config antiforgerytoken
AntiForgeryToken deprecated in ASP.Net MVC 4 RC

I just installed ASP.Net MVC 4 RC to replace ASP.Net MVC 4 beta. When trying to run an existing application …

asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 antiforgerytoken