You are viewing the documentation for Blueriq 15. Documentation for other versions is available in our documentation directory.

Referrer-Policy header

The Referrer-Policy header in the HTTP response is used to control how much information about the origin's URI is passed with requests. It prevents from situations that could result in sensitive information being leaked to the third party. Even if security is not compromised, the information may not be something the user wants to be shared.

By default this is enabled and set to same-origin.

To override the policy header value set:

blueriq.security.referrer-policy.policy=<HEADER VALUE>

Possible policy header values:

  • no-referrer 
  • no-referrer-when-downgrade
  • same-origin (default value)
  • origin
  • strict-origin
  • origin-when-cross-origin
  • strict-origin-when-cross-origin
  • unsafe-url

To disable use:

blueriq.security.referrer-policy.enabled=false

For more information : https://www.w3.org/TR/referrer-policy/