From 17a7aeb807f098b45b8f83916285b05bda175860 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Thu, 1 Nov 2018 14:39:36 -0500 Subject: [PATCH] additional secure headers --- config/environments/production.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 7a07a8eb0..e64bacca0 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -100,9 +100,11 @@ Rails.application.configure do 'X-Content-Type-Options' => 'nosniff', 'X-XSS-Protection' => '1; mode=block', 'Referrer-Policy' => 'same-origin', + 'X-Download-Options' => 'noopen', + 'X-Robots-Tag' => 'none', + 'X-Permitted-Cross-Domain-Policies' => 'none', 'Strict-Transport-Security' => 'max-age=63072000; includeSubDomains; preload', - 'X-Clacks-Overhead' => 'GNU Natalie Nguyen' - + 'X-Clacks-Overhead' => 'GNU Natalie Nguyen' } config.x.otp_secret = ENV.fetch('OTP_SECRET')