order deny,allow

deny from all
<Files ~ "\.(txt|html|gz)$">
allow from all
</Files>