diff options
author | Mario <mario@mariovavti.com> | 2021-04-16 09:14:40 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-04-16 09:14:40 +0000 |
commit | 7ccd7b439f5a029384ecb28911a0df6f6d658231 (patch) | |
tree | e2599bf587defda662140be78fac88f16de662d6 /boot.php | |
parent | f0eceb03ed110d9d3c04a6c1c0acdc200d8ad3a3 (diff) | |
download | volse-hubzilla-7ccd7b439f5a029384ecb28911a0df6f6d658231.tar.gz volse-hubzilla-7ccd7b439f5a029384ecb28911a0df6f6d658231.tar.bz2 volse-hubzilla-7ccd7b439f5a029384ecb28911a0df6f6d658231.zip |
floc off google
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -2460,6 +2460,14 @@ function construct_page() { header("X-Content-Type-Options: nosniff"); } + if (isset(App::$config['system']['perm_policy_header']) && App::$config['system']['perm_policy_header']) { + header("Permissions-Policy: " . App::$config['system']['perm_policy_header']); + } + else { + // opt-out this site from federated browser surveillance + header("Permissions-Policy: interest-cohort=()"); + } + if(isset(App::$config['system']['public_key_pins'])) { header("Public-Key-Pins: " . App::$config['system']['public_key_pins']); } |