From 7de111487ff5e58d88184b4b351d223b79e99638 Mon Sep 17 00:00:00 2001 From: Christoph Date: Wed, 14 Dec 2022 13:38:03 +0100 Subject: [PATCH] Add Header 'Permissions-Policy'. Add comments to 'Set-Cookie' Header. --- DOC/README.HTTP-security-headers | 45 ++++++++++++++++++++++++++++---- 1 file changed, 40 insertions(+), 5 deletions(-) diff --git a/DOC/README.HTTP-security-headers b/DOC/README.HTTP-security-headers index 3df8a50..1266bdf 100644 --- a/DOC/README.HTTP-security-headers +++ b/DOC/README.HTTP-security-headers @@ -2,11 +2,11 @@ # - HTTP security Headers # ========== -# You can mitigate most of the common Cross Site Scripting attack using HttpOnly -# and Secure flag in a cookie. Without having HttpOnly and Secure, it is possible -# to steal or manipulate web application session and cookies and it’s dangerous. -# -#Header always edit Set-Cookie (.*) "$1;HttpOnly;Secure" +# ---------- +# - You can test yout HTTP Header setting here: +# - https://securityheaders.com/ +# ---------- + # - X-Frame-Options # - @@ -172,6 +172,41 @@ # - #Header set Referrer-Policy "strict-origin-when-cross-origin" +# - Permissions-Policy +# - +# - see also: +# - https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy +# - +# - Browser bieten einige Features und APIs, auf die wir Entwickler zugreifen können. +# - Das beinhaltet etwa Kamera und Mikrofon des Endgeräts. Mit einer Permissions Policy +# - können wir diese Funktionen für unsere Seite aktivieren, deaktivieren oder auf eine +# - Quelle begrenzen. Wenn ihr ein Feature abschaltet, können auch keine Dritten darauf +# - zugreifen, etwa per eingebettetem