Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross-Site Request Forgery (CSRF) #31

Open
danielmyasnikov opened this issue Apr 1, 2020 · 1 comment
Open

Cross-Site Request Forgery (CSRF) #31

danielmyasnikov opened this issue Apr 1, 2020 · 1 comment

Comments

@danielmyasnikov
Copy link

How is Use HTTP verbs in a RESTful way a cross-site request forgery problem?

The second statement in there is correct:
Do not use GET requests to alter the state of resources

@brunofacca
Copy link
Owner

I can't think of a way to perform a CSRF attack with a PUT or DELETE request unless CORS settings are completely unrestricted. I agree that the first part of the sentence is not important. Freel free to submit a PR to improve that item.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants