Merge pull request #898 from nextcloud/update/stable14/referrerpolicy

[stable14] Add hint for Referrer-Policy
This commit is contained in:
Morris Jobke 2018-10-12 16:41:30 +02:00 committed by GitHub
commit 49a2852f71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -186,6 +186,8 @@ These include:
- Instructs search machines to not index these pages.
- ``X-Frame-Options: SAMEORIGIN``
- Prevents embedding of the Nextcloud instance within an iframe from other domains to prevent Clickjacking and other similar attacks.
- ``Referrer-Policy: no-referrer``
- The default `no-referrer` policy instructs the browser not to send referrer information along with requests to any origin.
These headers are hard-coded into the Nextcloud server, and need no intervention
by the server administrator.