Skip navigation

Per-Form CSRF tokens

Per-Form CSRF tokens: Ruby on Rails 5 New Features
Per-Form CSRF tokens: Ruby on Rails 5 New Features

Per-form CSRF tokens are an important addition to Ruby on Rails 5 because of the additional Cross-site Request Forgery Protection that they offer. They prevent a particular technique of form hijacking where a stolen CSRF token could still permit fake forms to be sent. Per-form tokens are only valid for the current form action which means they can only be used to send back a single form. Kevin shows how to enable per-form CSRF tokens, which is turned on by default in new applications.

Resume Transcript Auto-Scroll
Skill Level Intermediate
1h 22m
Show More Show Less
Skills covered in this course
Developer Web Web Development Ruby on Rails

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now