diff --git a/www/.htaccess b/www/.htaccess
index 9d04495..df53ef3 100644
--- a/www/.htaccess
+++ b/www/.htaccess
@@ -1,5 +1,17 @@
-AddHandler cgi-script .py
-Options +ExecCGI
+Options -Indexes
+ErrorDocument 403 "Access forbidden"
ErrorDocument 404 /cgi/main.py
ErrorDocument 500 "A very nasty bug found his way onto this very server"
+
+Order Deny,Allow
+
+
+ deny from all
+
+
+
+ allow from all
+ AddHandler cgi-script .py
+ Options +ExecCGI
+