Top "Csrf" questions

Cross Site Request Forgery is a malicious attack to exploit a website's trust in a user's browser.

Rails, Devise authentication, CSRF issue

I'm doing a singe-page application using Rails. When signing in and out Devise controllers are invoked using ajax. The problem …

ruby-on-rails ajax authentication devise csrf
New CSRF token per request or NOT?

So I am reading around and was really confused about having a CSRF token, whetever I should generate a new …

php csrf
Is CSRF possible with PUT or DELETE methods?

Is CSRF possible with PUT or DELETE methods? Or does the use of PUT or DELETE prevent CSRF?

security csrf
@csrf_exempt stopped working in Django 1.4

I have the following code, that was working fine in Django 1.2.5: from django.views.decorators.csrf import csrf_exempt class …

python django csrf django-csrf
Is checking the referrer enough to protect against a CSRF attack?

Is checking the referrer enough to protect against a cross site request forgery attack? I know the referrer can be …

security csrf
Disable CSRF token on login form

I am using Symfony2.0 and FOSUserBundle, and would like to disable the csrf token on my login form. I have …

symfony login csrf fosuserbundle symfony-2.0
what is the use of anti-forgery token salt?

In ASP.NET MVC 1.0, there is a new feature for handling cross site request forgery security problem: <%= Html.AntiForgeryToken() %&…

asp.net-mvc security csrf session-fixation
Using MVC3's AntiForgeryToken in HTTP GET to avoid Javascript CSRF vulnerability

In regards to this Haacked blog, I'm hesitant to implement the proposed anti-JSON GET hijacking solutions since The recommended solutions …

json asp.net-mvc-3 csrf antiforgerytoken
csrf error in django

I want to realize a login for my site. I basically copied and pasted the following bits from the Django …

python django csrf django-csrf
Rails API design without disabling CSRF protection

Back in February 2011, Rails was changed to require the CSRF token for all non-GET requests, even those for an API …

ruby-on-rails api csrf