]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Merge pull request #439 from flolauck/master
authorNicolas Lœuillet <nicolas@loeuillet.org>
Mon, 10 Feb 2014 11:10:08 +0000 (12:10 +0100)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Mon, 10 Feb 2014 11:10:08 +0000 (12:10 +0100)
Adding .htaccess files to prohibit access to critical directories, e.g., db/

README.md
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 30fc9657af9dcad440f0d638bcb74b90b187a5de..6f950ad0bd2c1e9d911aa6dedf90a4a572cef6af 100644 (file)
--- a/README.md
+++ b/README.md
@@ -7,4 +7,4 @@ To test wallabag, a demo website is online : [demo.wallabag.org](http://demo.wal
 Copyright © 2010-2013 Nicolas Lœuillet <nicolas@loeuillet.org>
 This work is free. You can redistribute it and/or modify it under the
 terms of the Do What The Fuck You Want To Public License, Version 2,
-as published by Sam Hocevar. See the COPYING file for more details.
\ No newline at end of file
+as published by Sam Hocevar. See the COPYING file for more details.
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