diff --git a/lib/.htaccess b/lib/.htaccess
index 782472c78..1e558f452 100644
--- a/lib/.htaccess
+++ b/lib/.htaccess
@@ -1,12 +1,23 @@
+# Allow only static resources files
+# - HTML not allowed as there could be some test pages calling server scripts or executing JS scripts
+# - PHP not allowed as they should not be publicly accessible
+
# Apache 2.4
Require all denied
+
+ Require all granted
+
# Apache 2.2
deny from all
Satisfy All
+
+ Order Allow,Deny
+ Allow from all
+
# Apache 2.2 and 2.4
diff --git a/lib/web.config b/lib/web.config
index 58c9c3ac3..88956be1b 100644
--- a/lib/web.config
+++ b/lib/web.config
@@ -1,13 +1,30 @@
-
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
\ No newline at end of file
+