security - Why not include CSRF protection for GET apis? -


i reading on csrf , came across question: https://security.stackexchange.com/questions/36671/csrf-token-in-get-request

multiple people online have seem indicate 1 should not protect requests against csrf. however, confused why.

if request contains sensitive information (like personal info user), want protect against csrf right? otherwise attacker can steal personal info.

i shouldn't include token in url because may logged. however, can't include them in custom header?

crsf attacks blind. typically send request without being able read result of action. reason here same origin policy.

sop prevents reading responses received other origins, meaning can't access private stuff anyways.

crsf protection instead protects requests in sense adds token symbolizes request started web app itself


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -