Protect .txt files access in .htaccess

This commit is contained in:
FrancescoUK
2016-07-06 10:01:57 +01:00
parent b3a1259861
commit 6d8c3b94e0

View File

@@ -42,8 +42,8 @@ IndexIgnore *
Satisfy all
</Files>
# prevent access to .csv files
<FilesMatch "\.(csv)$">
# prevent access to csv and txt files
<FilesMatch "\.(csv|txt)$">
Order allow,deny
Deny from all
Satisfy all