Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

1.2KB

+++ title = “Referrer Policy” description = “Specify how much info is passed to external links.” categories = [“security”] tags = [“privacy”, “security”, “SEO”, “metadata”] features = [“related content”, “code highlighter”, “snippets”] copyright owner = “Josh Habdas” date = “2019” license = “agpl-3.0-or-later” +++

After Dark adds a {{< external href=“https://w3c.github.io/webappsec-referrer-policy/” text=“Referrer Policy” />}} to improve site security and increase visitor privacy beyond browser defaults using a simple site-wide policy.

Adjust the site-wide default of same-origin from {{< external href=“https://gohugo.io/getting-started/configuration/” text=“Site Configuration” />}}:

[params.seo]
  referrer = "same-origin"

Relax the security policy by:

See {{< external href=“https://w3c.github.io/webappsec-referrer-policy/” text=“Referrer Policy on W3C” />}} for a list of possible values.