# Deny access to configuration files
Order Deny,Allow
Deny from all

# Prevent directory browsing
Options -Indexes

# Deny access to all files
<FilesMatch ".*">
    Order Deny,Allow
    Deny from all
</FilesMatch>