Security Hub

Bring your software development workflows to security


Application referrer restriction

Signals & Triggers

On request


  • Set the http header


Setting the “Referer” header happens in various situations, for example when a web page loads an image or script, or when a user clicks on a link or submits a form.

If the resource being requested lives on a different domain, then the Referer header is still generally included in the cross-domain request. If the originating URL contains any sensitive information within its query string, such as a session token, then this information will be transmitted to the other domain. If the other domain is not fully trusted by the application, then this may lead to a security vulnerability.

Advanced details

This plugin can automatically set the X-Referrer-Policy header to the configured value in HTTP responses.

By instrumenting the HTTP server running in your application, Sqreen can inject the right value at runtime without requiring any code change nor deployment.

The value and the plugin status can be changed anytime from the plugin page.

Language support

  • Node.js
  • PHP
  • Ruby
  • Python
  • Java

Data collected by Sqreen

No data collected

Build amazing products. Keep them safe.

Dive into Sqreen with our 14-day trial, and experience seamlessly security. Free Trial Request demo