Skip to content
Discussion options

You must be logged in to vote

Hi @GregJohnStewart

How is the process protected, given cookies are client-side? Could not one circumvent by simply replacing the value from the form?

You can't get access to the cookie from Java Script unless specifically requested

The guide only mentions protecting POST requests, does it cover any other methods? It appears to not?

All non idempotent verbs are checked.

To be clear, it seems that if a token is passed, it verifies but not if it's not included? Would be a security gap?

Are you talking about GET ? If it is get the absence of the cookie is tolerated because it is an idempotent method.
Can you give me a favor and create a reproducer ?

How does one verify the request via…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@sberyozkin
Comment options

@GregJohnStewart
Comment options

@GregJohnStewart
Comment options

@sberyozkin
Comment options

@sberyozkin
Comment options

Answer selected by GregJohnStewart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants