]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Adding .htaccess files to prohibit access to critical directories, e.g., db/ 437/head 439/head
authorFlorian Lauck <flolauck@gmail.com>
Sun, 9 Feb 2014 22:17:10 +0000 (23:17 +0100)
committerFlorian Lauck <flolauck@gmail.com>
Mon, 10 Feb 2014 07:58:21 +0000 (08:58 +0100)
cache/.gitignore
cache/.htaccess [new file with mode: 0644]
db/.htaccess [new file with mode: 0644]
inc/.htaccess [new file with mode: 0644]
locale/.htaccess [new file with mode: 0644]

index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..35c8ca2ee2373083217d7d83826bb411ddc820d3 100644 (file)
@@ -0,0 +1 @@
+!.htaccess
diff --git a/cache/.htaccess b/cache/.htaccess
new file mode 100644 (file)
index 0000000..93169e4
--- /dev/null
@@ -0,0 +1,2 @@
+Order deny,allow
+Deny from all
diff --git a/db/.htaccess b/db/.htaccess
new file mode 100644 (file)
index 0000000..93169e4
--- /dev/null
@@ -0,0 +1,2 @@
+Order deny,allow
+Deny from all
diff --git a/inc/.htaccess b/inc/.htaccess
new file mode 100644 (file)
index 0000000..93169e4
--- /dev/null
@@ -0,0 +1,2 @@
+Order deny,allow
+Deny from all
diff --git a/locale/.htaccess b/locale/.htaccess
new file mode 100644 (file)
index 0000000..93169e4
--- /dev/null
@@ -0,0 +1,2 @@
+Order deny,allow
+Deny from all