Skip to content
ferkesh.HOSTING

Test Referrer-Policy Before Changing Website Link Privacy

SSL and Website Security 56 visualizações Markdown

Referrer-Policy controls how much source URL information the browser sends as a Referer request header. It is useful for reducing URL disclosure across origins. It does not make a sensitive value safe to put in an address.

Source link: Synthetic URL; Destination origin: Same or cross origin; Observed header: Inspect Referer.

On staging use a harmless source URL such as https://example.test/pricing?campaign=sample. List one same-origin navigation and one approved cross-origin destination. Verify the observed request headers in DevTools, and avoid including real tokens, names or account IDs in the test.

Compare supported policies

For strict-origin-when-cross-origin, same-origin requests can include path and query, while secure cross-origin navigations usually send only the origin and downgrades omit the referrer. no-referrer omits it entirely. Per-link or document-level markup may also affect what the browser sends, so check the rendered behavior.

Protect integrations and URLs

Verify authorized analytics, SSO and links after any policy change. Identify third-party flows that assume a Referer, rather than weakening a policy across the entire application by default. Move secrets out of URLs using supported application controls and record the prior header value for rollback.

Official references

Last reviewed .

Foi útil?

Obrigado pela sua opinião!

Ainda precisa de ajuda?

A equipa de apoio está disponível a qualquer hora para ajudar com o que não encontrar na base de conhecimento.