# Block direct access to non-public folders
<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteRule ^(app|config|database)/ - [F,L]
</IfModule>
