From 6c8ee1862ab31153b5d27a5a3fefcadaa0dbf86f Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Fri, 18 Sep 2015 19:04:28 +0000 Subject: [PATCH] use subresource integrity attributes to guard against CDNs being used as an attack vector; drop external resources that we can't protect this way (fonts); fixes #234 --- management/templates/index.html | 14 +++++--------- tools/update-subresource-integrity.py | 24 ++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 9 deletions(-) create mode 100755 tools/update-subresource-integrity.py diff --git a/management/templates/index.html b/management/templates/index.html index c9e2f81e..2b59abea 100644 --- a/management/templates/index.html +++ b/management/templates/index.html @@ -9,11 +9,8 @@ - + - - + @@ -195,8 +191,8 @@ - - + +