summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-09-23 22:24:07 -0400
committerFrederic Guillot <fred@kanboard.net>2015-09-23 22:24:07 -0400
commit1b0b69a43f7528fd5188d4b48216c6fa7e32eac3 (patch)
tree1a0346c5760eb98d9b72fd1833673d6ac4f0c79b
parentcb8895c7ed11b2ea95ef366016423b382b6683f2 (diff)
Add .htaccess rule to deny files access
-rw-r--r--.htaccess4
1 files changed, 4 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 0d873f58..d17e5c80 100644
--- a/.htaccess
+++ b/.htaccess
@@ -7,3 +7,7 @@
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
</IfModule>
+
+<FilesMatch "(kanboard|config.php|config.default.php)">
+ Deny from all
+</FilesMatch>