aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNicolas Lœuillet <nicolas@loeuillet.org>2014-02-10 12:10:08 +0100
committerNicolas Lœuillet <nicolas@loeuillet.org>2014-02-10 12:10:08 +0100
commit58f6269f36ae719edcc79139ef5e808de12d4a8e (patch)
treea2169dbd9aada8472a23e61088a4131b47c2b9f8
parent211ed4836197e0b2c548a4ead520d22ae65a3b93 (diff)
parent3a68883ae943dcd99f33df0a29b0fba7b4d2f2f4 (diff)
downloadwallabag-58f6269f36ae719edcc79139ef5e808de12d4a8e.tar.gz
wallabag-58f6269f36ae719edcc79139ef5e808de12d4a8e.tar.zst
wallabag-58f6269f36ae719edcc79139ef5e808de12d4a8e.zip
Merge pull request #439 from flolauck/master
Adding .htaccess files to prohibit access to critical directories, e.g., db/
-rw-r--r--README.md2
-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
6 files changed, 10 insertions, 1 deletions
diff --git a/README.md b/README.md
index 30fc9657..6f950ad0 100644
--- a/README.md
+++ b/README.md
@@ -7,4 +7,4 @@ To test wallabag, a demo website is online : [demo.wallabag.org](http://demo.wal
7Copyright © 2010-2013 Nicolas Lœuillet <nicolas@loeuillet.org> 7Copyright © 2010-2013 Nicolas Lœuillet <nicolas@loeuillet.org>
8This work is free. You can redistribute it and/or modify it under the 8This work is free. You can redistribute it and/or modify it under the
9terms of the Do What The Fuck You Want To Public License, Version 2, 9terms of the Do What The Fuck You Want To Public License, Version 2,
10as published by Sam Hocevar. See the COPYING file for more details. \ No newline at end of file 10as published by Sam Hocevar. See the COPYING file for more details.
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