mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-23 17:41:01 +00:00
Merge pull request #439 from flolauck/master
Adding .htaccess files to prohibit access to critical directories, e.g., db/
This commit is contained in:
commit
58f6269f36
6 changed files with 10 additions and 1 deletions
|
@ -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
1
cache/.gitignore
vendored
|
@ -0,0 +1 @@
|
|||
!.htaccess
|
2
cache/.htaccess
vendored
Normal file
2
cache/.htaccess
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
Order deny,allow
|
||||
Deny from all
|
2
db/.htaccess
Normal file
2
db/.htaccess
Normal file
|
@ -0,0 +1,2 @@
|
|||
Order deny,allow
|
||||
Deny from all
|
2
inc/.htaccess
Normal file
2
inc/.htaccess
Normal file
|
@ -0,0 +1,2 @@
|
|||
Order deny,allow
|
||||
Deny from all
|
2
locale/.htaccess
Normal file
2
locale/.htaccess
Normal file
|
@ -0,0 +1,2 @@
|
|||
Order deny,allow
|
||||
Deny from all
|
Loading…
Reference in a new issue