diff --git a/.htaccess_firewall b/.htaccess_firewall
new file mode 100644
index 00000000..a58990b7
--- /dev/null
+++ b/.htaccess_firewall
@@ -0,0 +1,9 @@
+<Files *.php>
+    Order Deny,Allow
+    Deny from all
+</Files>
+
+<Files index.php>
+    Order Allow,Deny
+    Allow from all
+</Files>
\ No newline at end of file
diff --git a/system/.htaccess b/system/.htaccess
new file mode 100644
index 00000000..5fd3ff11
--- /dev/null
+++ b/system/.htaccess
@@ -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>
\ No newline at end of file