# Protect data directory
<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteRule ^data/.* - [F,L]
  RewriteRule ^exports/.* - [F,L]
</IfModule>

# Disable directory browsing
Options -Indexes

# Deny access to hidden files and directories
<FilesMatch "^\.">
  Order allow,deny
  Deny from all
</FilesMatch>