# Keamanan dasar (Apache / LiteSpeed / cPanel)
Options -Indexes
<FilesMatch "^(config\.php|.*\.sqlite|.*\.log|.*\.sql)$">
  Require all denied
</FilesMatch>
<IfModule mod_headers.c>
  Header set X-Content-Type-Options "nosniff"
  Header set X-Frame-Options "DENY"
  Header set Referrer-Policy "same-origin"
</IfModule>
# Paksa HTTPS (hapus tanda # bila hosting sudah memiliki SSL)
#RewriteEngine On
#RewriteCond %{HTTPS} !=on
#RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
