aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFlorian Lauck <flolauck@gmail.com>2014-02-09 23:17:10 +0100
committerFlorian Lauck <flolauck@gmail.com>2014-02-10 08:58:21 +0100
commit3a68883ae943dcd99f33df0a29b0fba7b4d2f2f4 (patch)
tree0db462a6d5df90cb6385a767ad1d8c7d11cd7ee7
parent38dafee05d52948fba4a06066d7b0343c8e3de9d (diff)
downloadwallabag-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/.gitignore1
-rw-r--r--cache/.htaccess2
-rw-r--r--db/.htaccess2
-rw-r--r--inc/.htaccess2
-rw-r--r--locale/.htaccess2
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 @@
1Order deny,allow
2Deny 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 @@
1Order deny,allow
2Deny 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 @@
1Order deny,allow
2Deny 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 @@
1Order deny,allow
2Deny from all