diff options
author | Aleksander Machniak <alec@alec.pl> | 2015-09-01 20:51:44 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2015-09-01 20:51:44 +0300 |
commit | 348c53b13602288ebe0b2280ac5543d343db4722 (patch) | |
tree | ff9bef17086d546cb5b25708aa50a02205f787dc /.htaccess | |
parent | 4d36da83b29591ea7c69c0aefdf1088a975a6a6c (diff) |
Add example of setting CSP's no-referer policy
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -46,6 +46,8 @@ SetOutputFilter DEFLATE <IfModule mod_headers.c> # replace 'append' with 'merge' for Apache version 2.2.9 and later #Header append Cache-Control public env=!NO_CACHE +# for better privacy/security ask browsers to not set the Referer +#Header set Content-Security-Policy "referrer no-referrer" </IfModule> <IfModule mod_expires.c> |