1
0
mirror of https://github.com/PrivSec-dev/privsec.dev synced 2024-12-23 13:21:34 -05:00

Security Header Fixes

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2022-07-17 22:05:24 -04:00
parent 612c88a892
commit d03d19ca38
No known key found for this signature in database
GPG Key ID: 060B29EB996BD9F2

View File

@ -3,42 +3,47 @@
"public": "public", "public": "public",
"headers": [ "headers": [
{ {
"key": "Content-Security-Policy", "source": "*",
"value": "upgrade-insecure-requests; block-all-mixed-content; form-action 'none'; frame-ancestors 'self'" "headers": [
}, {
{ "key": "Content-Security-Policy",
"key": "X-Content-Type-Options", "value": "upgrade-insecure-requests; block-all-mixed-content; form-action 'none'; frame-ancestors 'self'"
"value": "nosniff" },
}, {
{ "key": "X-Content-Type-Options",
"key": "Referrer-Policy", "value": "nosniff"
"value": "no-referrer" },
}, {
{ "key": "Referrer-Policy",
"key": "Cross-Origin-Opener-Policy", "value": "no-referrer"
"value": "same-origin" },
}, {
{ "key": "Cross-Origin-Opener-Policy",
"key": "Cross-Origin-Embedder-Policy", "value": "same-origin"
"value": "require-corp" },
}, {
{ "key": "Cross-Origin-Embedder-Policy",
"key": "X-Frame-Options", "value": "require-corp"
"value": "DENY" },
}, {
{ "key": "X-Frame-Options",
"key": "X-XSS-Protection", "value": "DENY"
"value": "0" },
}, {
{ "key": "X-XSS-Protection",
"key": "Permissions-Policy", "value": "0"
"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": "Permissions-Policy",
"key": "Cross-Origin-Resource-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=()"
"value": "same-origin" },
} {
], "key": "Cross-Origin-Resource-Policy",
"value": "same-origin"
}
]
}
],
"ignore": [ "ignore": [
"firebase.json", "firebase.json",
"**/.*", "**/.*",