From 4a4a108fe96c04a90948f8938d7e55b346912a47 Mon Sep 17 00:00:00 2001 From: Harvie Date: Sun, 24 Oct 2010 01:22:44 +0200 Subject: [PATCH] Protected cron scripts from being accessed through webserver --- cron/.htaccess | 9 +++++++++ cron/index.html | 0 2 files changed, 9 insertions(+) create mode 100755 cron/.htaccess create mode 100755 cron/index.html diff --git a/cron/.htaccess b/cron/.htaccess new file mode 100755 index 0000000..8e7172b --- /dev/null +++ b/cron/.htaccess @@ -0,0 +1,9 @@ +#Disable access +Deny from all + +#Disable listing +Options -Indexes + +#Disable PHP +AddHandler default-handler php +AddType text/html php diff --git a/cron/index.html b/cron/index.html new file mode 100755 index 0000000..e69de29 -- 2.30.2