# The API folder: only index.php may be requested. config.php (database + secret), lib/*.php and anything else are never served.
Options -Indexes
<FilesMatch "^(?!index\.php$)">
  <IfModule mod_authz_core.c>
    Require all denied
  </IfModule>
  <IfModule !mod_authz_core.c>
    Order allow,deny
    Deny from all
  </IfModule>
</FilesMatch>
<IfModule mod_headers.c>
  Header always set Cache-Control "no-store"
</IfModule>
