From 4a02c2fd56629ac960a9cecbe7c77e1016efb54c Mon Sep 17 00:00:00 2001 From: Heiko Adams Date: Wed, 12 Aug 2015 21:09:35 +0200 Subject: [PATCH] protect .htaccess and config.php against accessing by strangers --- .htaccess | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.htaccess b/.htaccess index 22b33f00..bdf8c201 100644 --- a/.htaccess +++ b/.htaccess @@ -1,3 +1,16 @@ AddType image/svg+xml svg AddType image/svg+xml svgz +# PROTECT all htaccess files + + Order Allow,Deny + Deny from all + Satisfy All + + +# PROTECT config.php + + Order Allow,Deny + Deny from all + Satisfy all + \ No newline at end of file