tighten csp
This commit is contained in:
parent
d442cfa65c
commit
b75a1ce326
|
@ -95,7 +95,7 @@ Rails.application.configure do
|
||||||
'X-Frame-Options' => 'DENY',
|
'X-Frame-Options' => 'DENY',
|
||||||
'X-Content-Type-Options' => 'nosniff',
|
'X-Content-Type-Options' => 'nosniff',
|
||||||
'X-XSS-Protection' => '1; mode=block',
|
'X-XSS-Protection' => '1; mode=block',
|
||||||
'Content-Security-Policy' => "frame-ancestors 'none'; object-src 'none'; script-src 'self' https://dev-static.glitch.social 'unsafe-inline'; base-uri 'none';" ,
|
'Content-Security-Policy' => "frame-ancestors 'none'; object-src 'none'; script-src 'self' https://dev-static.glitch.social ; base-uri 'none';" ,
|
||||||
'Referrer-Policy' => 'no-referrer, strict-origin-when-cross-origin',
|
'Referrer-Policy' => 'no-referrer, strict-origin-when-cross-origin',
|
||||||
'Strict-Transport-Security' => 'max-age=63072000; includeSubDomains; preload',
|
'Strict-Transport-Security' => 'max-age=63072000; includeSubDomains; preload',
|
||||||
'X-Clacks-Overhead' => 'GNU Natalie Nguyen'
|
'X-Clacks-Overhead' => 'GNU Natalie Nguyen'
|
||||||
|
|
Reference in New Issue