aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Leithner <[email protected]>2022-04-10 11:28:52 +0200
committerGitHub <[email protected]>2022-04-10 11:28:52 +0200
commit4b3d11c9885fa098e56b2609e5d7091d771e09e6 (patch)
treeb0a10f0d502dfa383b89e5235bb1d3561737c73c
parent7b8e031ab5b6366f70b964069ab1913aa8cb906a (diff)
downloadprivatebin-4b3d11c9885fa098e56b2609e5d7091d771e09e6.tar.gz
privatebin-4b3d11c9885fa098e56b2609e5d7091d771e09e6.tar.bz2
privatebin-4b3d11c9885fa098e56b2609e5d7091d771e09e6.zip
Add browsing-topics premission policy
-rw-r--r--lib/Controller.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Controller.php b/lib/Controller.php
index b6cd1e8c..a6fd0a5b 100644
--- a/lib/Controller.php
+++ b/lib/Controller.php
@@ -342,6 +342,7 @@ class Controller
header('Cross-Origin-Resource-Policy: same-origin');
header('Cross-Origin-Embedder-Policy: require-corp');
header('Cross-Origin-Opener-Policy: same-origin');
+ header('Permissions-Policy: browsing-topics=()');
header('Referrer-Policy: no-referrer');
header('X-Content-Type-Options: nosniff');
header('X-Frame-Options: deny');