Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2015-09-01 20:51:44 +0300
committerAleksander Machniak <alec@alec.pl>2015-09-01 20:51:44 +0300
commit348c53b13602288ebe0b2280ac5543d343db4722 (patch)
treeff9bef17086d546cb5b25708aa50a02205f787dc /.htaccess
parent4d36da83b29591ea7c69c0aefdf1088a975a6a6c (diff)
Add example of setting CSP's no-referer policy
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess2
1 files changed, 2 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index c584ac0fb..a2b516c67 100644
--- a/.htaccess
+++ b/.htaccess
@@ -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>