Skip to content
Snippets Groups Projects
Commit b2f5b24d authored by Allen Gilliland's avatar Allen Gilliland
Browse files

Merge pull request #1629 from metabase/disable_key_pins_header

disable the key-pins-header until we decide how we want users to inpu…
parents cb8ff23f 4efe1517
No related branches found
No related tags found
Loading
......@@ -172,13 +172,14 @@
(defn- api-security-headers [] ; don't need to include all the nonsense we include with index.html
(merge (cache-prevention-headers)
strict-transport-security-header
(public-key-pins-header)))
;(public-key-pins-header)
))
(defn- index-page-security-headers []
(merge (cache-prevention-headers)
strict-transport-security-header
content-security-policy-header
(public-key-pins-header)
;(public-key-pins-header)
{"X-Frame-Options" "DENY" ; Tell browsers not to render our site as an iframe (prevent clickjacking)
"X-XSS-Protection" "1; mode=block" ; Tell browser to block suspected XSS attacks
"X-Permitted-Cross-Domain-Policies" "none" ; Prevent Flash / PDF files from including content from site.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment