From f0fc461e2bd52f617607efa124b4dd064bb460c2 Mon Sep 17 00:00:00 2001 From: radlaci97 <radlaci97@sch.bme.hu> Date: Sun, 22 May 2022 17:01:00 +0000 Subject: [PATCH] WIP Restrict it a bit more. --- homepage/header.template.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/homepage/header.template.html b/homepage/header.template.html index 28fde8f..d213d86 100644 --- a/homepage/header.template.html +++ b/homepage/header.template.html @@ -17,10 +17,12 @@ <link rel="stylesheet" href="/static/style.css"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <meta http-equiv="Content-Security-Policy" content="default-src: 'none'; script-src 'self'"> + <meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self'; content-src 'self'; img-src 'self'; style-src 'self'; base-uri 'self'; form-action 'self'"> + <meta http-equiv="Referrer-Policy" content="origin-when-cross-origin"> + <meta http-equiv="Feature-Policy" content="microphone 'none'; camera 'none'"> <title>BecskasszáSCH</title> </head> <body class="{{ if .Dark }}dark{{ else }}light{{ end }}"> -{{ end }} \ No newline at end of file +{{ end }} -- GitLab