From a36588326866abe6d63853d1ad3d524e68788eee 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 00000000..34ec0914 --- /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 00000000..a11ced19 --- /dev/null +++ b/static/.htaccess @@ -0,0 +1,4 @@ +AuthType Basic +AuthName "Protected Site" +AuthUserFile ../.htpasswd +require valid-user