RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in