# Disable access to all file types except the following Order deny,allow Deny from all <Files ~ ".(xml|css|js|jpe?g|png|gif|txt|pdf|docx|mp4|rtf|odf|zip|rar)$"> Allow from all </Files>