diff options
author | Nicolas Lœuillet <nicolas@loeuillet.org> | 2014-02-10 12:10:08 +0100 |
---|---|---|
committer | Nicolas Lœuillet <nicolas@loeuillet.org> | 2014-02-10 12:10:08 +0100 |
commit | 58f6269f36ae719edcc79139ef5e808de12d4a8e (patch) | |
tree | a2169dbd9aada8472a23e61088a4131b47c2b9f8 | |
parent | 211ed4836197e0b2c548a4ead520d22ae65a3b93 (diff) | |
parent | 3a68883ae943dcd99f33df0a29b0fba7b4d2f2f4 (diff) | |
download | wallabag-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.md | 2 | ||||
-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 |
6 files changed, 10 insertions, 1 deletions
@@ -7,4 +7,4 @@ To test wallabag, a demo website is online : [demo.wallabag.org](http://demo.wal | |||
7 | Copyright © 2010-2013 Nicolas Lœuillet <nicolas@loeuillet.org> | 7 | Copyright © 2010-2013 Nicolas Lœuillet <nicolas@loeuillet.org> |
8 | This work is free. You can redistribute it and/or modify it under the | 8 | This work is free. You can redistribute it and/or modify it under the |
9 | terms of the Do What The Fuck You Want To Public License, Version 2, | 9 | terms of the Do What The Fuck You Want To Public License, Version 2, |
10 | as published by Sam Hocevar. See the COPYING file for more details. \ No newline at end of file | 10 | as 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 @@ | |||
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 | ||