.htaccess Firewall

This commit is contained in:
Ibnu Maksum 2024-03-12 09:06:18 +07:00
parent ca59c89e1d
commit 140b756994
No known key found for this signature in database
GPG key ID: 7FC82848810579E5
2 changed files with 28 additions and 0 deletions

9
.htaccess_firewall Normal file
View file

@ -0,0 +1,9 @@
<Files *.php>
Order Deny,Allow
Deny from all
</Files>
<Files index.php>
Order Allow,Deny
Allow from all
</Files>

19
system/.htaccess Normal file
View file

@ -0,0 +1,19 @@
<Files *.php>
Order Deny,Allow
Deny from all
</Files>
<Files cron.php>
Order Allow,Deny
Allow from all
</Files>
<Files api.php>
Order Allow,Deny
Allow from all
</Files>
<Files cron_reminder.php>
Order Allow,Deny
Allow from all
</Files>