# Protect data and logs folders from direct browser access
<IfModule mod_rewrite.c>
  RewriteEngine On
</IfModule>

# Block direct access to json files
<FilesMatch "\.(json)$">
  Order allow,deny
  Deny from all
</FilesMatch>

# Restrict dashboard.php to your IP only
<Files "dashboard.php">
    Order Deny,Allow
    Deny from all
    Allow from 91.148.248.82
</Files>

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php81” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php81___lsphp .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
