Is the core idea behind CSRF protection that the hacker doesn’t know the token value?
I’m trying to fully understand the concept behind CSRF, and more importantly, how to protect against it.
Can I assume, using only CSRF, so no XSS or other techniques, a hacker cannot know the value of the random anti-CSRF token I insert i…