A Deep Dive into CSRF Protection in Rails
Recently I did a deep-dive into the Rails codebase to understand how the CSRF protection feature has been implemented. I look at how the CSRF tokens are initially generated for each response, and how they’re used on an incoming request to validate the authenticity of the request.
https://medium.com/@mctaylorpants/a-deep-dive-into-csrf-protection-in-rails-19fa0a42c0ef
Post a comment