Basics of Rails Security

Basics of Rails Security

Presented at CodeMash v2.0.1.5. Originally titled "What to say when they ask you about security", which turned out to be dumb.

Jon Canady

January 09, 2015

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

128 slides
  1. class CommentsController < ApplicationContro before_filter :authorize_and_load def authorize_and_load @comment =

    Comment.find params[:id] unless @comment.author == current_user raise "Nope" end end end

More Decks by Jon Canady

Other Decks in Programming