diff --git a/lam/config/.htaccess b/lam/config/.htaccess
index 3a428827..11c59d17 100644
--- a/lam/config/.htaccess
+++ b/lam/config/.htaccess
@@ -1 +1,4 @@
-Deny from all
+
+ Order allow,deny
+ Deny from all
+
diff --git a/lam/lib/.htaccess b/lam/lib/.htaccess
index 3a428827..11c59d17 100644
--- a/lam/lib/.htaccess
+++ b/lam/lib/.htaccess
@@ -1 +1,4 @@
-Deny from all
+
+ Order allow,deny
+ Deny from all
+
diff --git a/lam/sess/.htaccess b/lam/sess/.htaccess
new file mode 100644
index 00000000..11c59d17
--- /dev/null
+++ b/lam/sess/.htaccess
@@ -0,0 +1,4 @@
+
+ Order allow,deny
+ Deny from all
+