diff options
author | Florian Lauck <flolauck@gmail.com> | 2014-02-09 23:17:10 +0100 |
---|---|---|
committer | Florian Lauck <flolauck@gmail.com> | 2014-02-10 08:58:21 +0100 |
commit | 3a68883ae943dcd99f33df0a29b0fba7b4d2f2f4 (patch) | |
tree | 0db462a6d5df90cb6385a767ad1d8c7d11cd7ee7 | |
parent | 38dafee05d52948fba4a06066d7b0343c8e3de9d (diff) | |
download | wallabag-3a68883ae943dcd99f33df0a29b0fba7b4d2f2f4.tar.gz wallabag-3a68883ae943dcd99f33df0a29b0fba7b4d2f2f4.tar.zst wallabag-3a68883ae943dcd99f33df0a29b0fba7b4d2f2f4.zip |
Adding .htaccess files to prohibit access to critical directories, e.g., db/
-rw-r--r-- | cache/.gitignore | 1 | ||||
-rw-r--r-- | cache/.htaccess | 2 | ||||
-rw-r--r-- | db/.htaccess | 2 | ||||
-rw-r--r-- | inc/.htaccess | 2 | ||||
-rw-r--r-- | locale/.htaccess | 2 |
5 files changed, 9 insertions, 0 deletions
diff --git a/cache/.gitignore b/cache/.gitignore index e69de29b..35c8ca2e 100644 --- a/cache/.gitignore +++ b/cache/.gitignore | |||
@@ -0,0 +1 @@ | |||
!.htaccess | |||
diff --git a/cache/.htaccess b/cache/.htaccess new file mode 100644 index 00000000..93169e4e --- /dev/null +++ b/cache/.htaccess | |||
@@ -0,0 +1,2 @@ | |||
1 | Order deny,allow | ||
2 | Deny from all | ||
diff --git a/db/.htaccess b/db/.htaccess new file mode 100644 index 00000000..93169e4e --- /dev/null +++ b/db/.htaccess | |||
@@ -0,0 +1,2 @@ | |||
1 | Order deny,allow | ||
2 | Deny from all | ||
diff --git a/inc/.htaccess b/inc/.htaccess new file mode 100644 index 00000000..93169e4e --- /dev/null +++ b/inc/.htaccess | |||
@@ -0,0 +1,2 @@ | |||
1 | Order deny,allow | ||
2 | Deny from all | ||
diff --git a/locale/.htaccess b/locale/.htaccess new file mode 100644 index 00000000..93169e4e --- /dev/null +++ b/locale/.htaccess | |||
@@ -0,0 +1,2 @@ | |||
1 | Order deny,allow | ||
2 | Deny from all | ||