# Nur die Seiten sind erreichbar; Konfiguration, Hilfscode und Daten nie.
Options -Indexes

<FilesMatch "^(config(\.example)?\.php|einrichten\.php|README\.md)$">
    <IfModule mod_authz_core.c>
        Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
        Order deny,allow
        Deny from all
    </IfModule>
</FilesMatch>

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^(inc|storage)/ - [F,L]
</IfModule>

# Sicherheits-Header
<IfModule mod_headers.c>
    Header always set X-Content-Type-Options "nosniff"
    Header always set X-Frame-Options "DENY"
</IfModule>
