Free Referrer-Policy Checker
Check your Referrer-Policy header against strict-origin-when-cross-origin and no-referrer. Stops URL paths and query strings leaking to third parties.
- Referrer-Policy detection
- Safe defaults
- Copyable examples

What you get for free
18 core security checks via this tool, passive scans, step-by-step remediation, security score on every result.
What Essential adds at $39/mo
+17 advanced checks, continuous monitoring, daily security score history, email alerts, GitHub SAST, board-ready PDFs, SOC 2 / ISO 27001 / PCI reports.
What is Referrer-Policy?
Referrer-Policy controls how much of the URL a browser includes in the Referer header on navigation and resource requests. Safer policies reduce leakage of paths, queries, and secrets.
Recommended values
- strict-origin-when-cross-origin (modern default, balanced)
- no-referrer (maximum privacy for sensitive apps)
Implementation examples
Once you've identified the gap, applying the fix is straightforward. Here are the three configurations developers reach for most often.
Nginx
add_header Referrer-Policy "strict-origin-when-cross-origin" always;Apache
Header always set Referrer-Policy "strict-origin-when-cross-origin"Node.js (Express + Helmet)
import helmet from "helmet"
app.use(
helmet.referrerPolicy({ policy: "strict-origin-when-cross-origin" })
)Tool-specific questions
Is no-referrer always best?
Do I need both meta and header?
Built for the engineers who already have enough to fix.
Real-time results
Comprehensive checks
Step-by-step fixes
More free checks, for the rest of your surface.
Complete Security Scan
Pre-Pentest Security Scan
Security Compliance Checker
WAF Checker
Security Headers Test
TLS/SSL Security Checker
Go deeper on the same topic.
Referrer Policy
Missing Referrer Policy
Security Headers Guide
Frequently asked.
What is Barrion and how does it enhance website security?
How safe is Barrion to use for security testing?
What types of security issues does Barrion identify?
What specific security checks does Barrion perform?
What is Barrion's smart crawling?
How often does Barrion perform security scans?
Is Barrion suitable for security testing of all business sizes?
How does Barrion handle data security and privacy during security testing?
What if I'm not satisfied with Barrion's security testing service?
How does Barrion help with SOC 2, ISO 27001, NIS2, and other compliance frameworks?
Anything else? Email contact@barrion.io.
Run a full report on your site.
Free first scan covers every check, no signup needed. Sign up to save the report and turn on continuous monitoring.