<Files ~ "\.txt$">

Order allow,deny

Deny from all

</Files>