# Authorization başlığını PHP'ye ilet (Bearer token için)
RewriteEngine On
RewriteCond %{HTTP:Authorization} ^(.+)$
RewriteRule .* - [E=HTTP_AUTHORIZATION:%1]

# Dizin listelemeyi kapat
Options -Indexes

# SQLite dosyalarına doğrudan erişimi engelle
<FilesMatch "\.(db|db-wal|db-shm|sqlite)$">
    Require all denied
</FilesMatch>
