Merge pull request #439 from flolauck/master

Adding .htaccess files to prohibit access to critical directories, e.g., db/
This commit is contained in:
Nicolas Lœuillet 2014-02-10 12:10:08 +01:00
commit 58f6269f36
6 changed files with 10 additions and 1 deletions

View File

@ -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.
as published by Sam Hocevar. See the COPYING file for more details.

1
cache/.gitignore vendored
View File

@ -0,0 +1 @@
!.htaccess

2
cache/.htaccess vendored Normal file
View File

@ -0,0 +1,2 @@
Order deny,allow
Deny from all

2
db/.htaccess Normal file
View File

@ -0,0 +1,2 @@
Order deny,allow
Deny from all

2
inc/.htaccess Normal file
View File

@ -0,0 +1,2 @@
Order deny,allow
Deny from all

2
locale/.htaccess Normal file
View File

@ -0,0 +1,2 @@
Order deny,allow
Deny from all