require `X-Frame-Options: SAMEORIGIN` for clickjack prevention

This commit is contained in:
Raul Murciano 2013-10-28 15:14:08 -07:00
parent e52f6e0f6d
commit bd5fe86c87
1 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,3 @@
require 'rack/protection'
Rails.configuration.middleware.use Rack::Protection::FrameOptions