From 81be92261c02e8b2e458721e414a5943e9e314dd Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Thu, 9 Jul 2020 18:04:54 +0200 Subject: [PATCH] Passwortschutz --- .htpasswd | 1 + static/.htaccess | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 .htpasswd create mode 100644 static/.htaccess diff --git a/.htpasswd b/.htpasswd new file mode 100644 index 0000000..34ec091 --- /dev/null +++ b/.htpasswd @@ -0,0 +1 @@ +admin:$2y$10$JmET.FCeLoUu26obV9fuw.i2BUWU6VH6yF2PAcXF1gSlgxEpoCogG diff --git a/static/.htaccess b/static/.htaccess new file mode 100644 index 0000000..a11ced1 --- /dev/null +++ b/static/.htaccess @@ -0,0 +1,4 @@ +AuthType Basic +AuthName "Protected Site" +AuthUserFile ../.htpasswd +require valid-user