Picto thématique

Rule n° 24 - The headers sent by the server specify the communication policy of the referrers.

Web servers spend their time recording a lot of information about users. This data is recorded in so-called log files. This is very useful and even vital for analyzing the audience, for spotting errors and it is essential for developers. On the other hand, among the information that is continuously transmitted is the original page.

#Privacy #Personal information #Development

Goal

  • Protect users from disclosing any sensitive information about their navigation.
  • Mastering the information sent by the server.
  • Strengthen user confidence in the use of their data

Implementation

For each page of the website, configure the server to send the HTTP Referrer-Policy header with the value, in order of preference:

  • no-referrer
  • same-origin
  • strict-origin
  • strict-origin-when-cross-origin

Control

Check for each page of the website, that there is a HTTP Referrer-Policy header with the value, in order of preference:

  • no-referrer
  • same-origin
  • strict-origin
  • strict-origin-when-cross-origin

By Opquast - Read the license


Discover Opquast training and certification

The objective of these rules and the Opquast community mission is ‘making the web better’ for your customers and for everyone! Opquast rules cover the key major areas of risk that can negatively affect website users such as privacy, ecodesign, accessibility and security.

Opquast training has already allowed over 14,500 web professionals to have their skills certified. Train your teams or your students, contact us