diff options
author | Heiko Adams <[email protected]> | 2015-08-12 21:09:35 +0200 |
---|---|---|
committer | Heiko Adams <[email protected]> | 2015-08-12 21:09:35 +0200 |
commit | 4a02c2fd56629ac960a9cecbe7c77e1016efb54c (patch) | |
tree | 2afa10344a2308bb1abcea78bca1176f3b28d307 | |
parent | 45913edda0db376991876ab21eba0091f5de1a6c (diff) |
protect .htaccess and config.php against accessing by strangers
-rw-r--r-- | .htaccess | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,16 @@ AddType image/svg+xml svg AddType image/svg+xml svgz +# PROTECT all htaccess files +<Files ~ "^[\._]ht"> + Order Allow,Deny + Deny from all + Satisfy All +</Files> + +# PROTECT config.php +<files config.php> + Order Allow,Deny + Deny from all + Satisfy all +</files>
\ No newline at end of file |