Reputation: 692
According to this article it is enough to validate X-Requested-With header for AJAX requests sent by jQuery. So in this case it is not necessary to implement tokens?
And if yes, where is defined that cross-browser requests are not allowed?
Thanks in advance.
Upvotes: 0
Views: 139
Reputation: 6006
The article itself says that this method is insufficient:
Warning
The method of preventing CSRF attacks described in this post is now considered to be insufficient. A comment on this post links to more details about an attack that circumvents it.
Upvotes: 1