diff --git a/config.yml b/config.yml index bbe2b99..38fadee 100644 --- a/config.yml +++ b/config.yml @@ -50,10 +50,10 @@ params: url: tags socialIcons: - - name: matrix - url: "https://matrix.to/#/#privsec:arcticfoxes.net" - name: github url: "https://github.com/PrivSec-dev" + - name: matrix + url: "https://matrix.to/#/#privsec:arcticfoxes.net" - name: email url: "mailto:contact@privsec.dev" - name: rss diff --git a/firebase.json b/firebase.json index e782939..e5fab3f 100644 --- a/firebase.json +++ b/firebase.json @@ -1,10 +1,48 @@ { "hosting": { "public": "public", + "headers": [ + { + "key": "Content-Security-Policy", + "value": "upgrade-insecure-requests; block-all-mixed-content; form-action 'none'; frame-ancestors 'self'" + }, + { + "key": "X-Content-Type-Options", + "value": "nosniff" + }, + { + "key": "Referrer-Policy", + "value": "no-referrer" + }, + { + "key": "Cross-Origin-Opener-Policy", + "value": "same-origin" + }, + { + "key": "Cross-Origin-Embedder-Policy", + "value": "require-corp" + }, + { + "key": "X-Frame-Options", + "value": "DENY" + }, + { + "key": "X-XSS-Protection", + "value": "0" + }, + { + "key": "Permissions-Policy", + "value": "accelerometer=(), ambient-light-sensor=(), autoplay=(), battery=(), camera=(), clipboard-read=(), clipboard-write=(), display-capture=(), document-domain=(), encrypted-media=(), fullscreen=(), geolocation=(), gyroscope=(), hid=(), idle-detection=(), interest-cohort=(), magnetometer=(), microphone=(), midi=(), payment=(), picture-in-picture=(), publickey-credentials-get=(), screen-wake-lock=(), serial=(), sync-xhr=(), usb=(), xr-spatial-tracking=()" + }, + { + "key": "Cross-Origin-Resource-Policy", + "value": "same-origin" + } + ], "ignore": [ "firebase.json", "**/.*", "**/node_modules/**" ] } -} +} \ No newline at end of file