Re:GitHub's post-CSP journey
by ricardobeat on Friday January 20, 2017 @07:11AM
(#13443222)
Yes. Forwarding a unique CSRF token from the backend gives you some assurance that it's a legitimate request, initiated from a pageview within a timeframe. A header (origin) which always has the same value (the hostname) is inherently less secure, though I overstated how much in the previous comment.
[ Parent
| on HN ]
There are no comments on this comment yet.