diff --git a/js/.htaccess b/js/.htaccess
index 3819b90a129c7..c6274695ba648 100755
--- a/js/.htaccess
+++ b/js/.htaccess
@@ -7,3 +7,25 @@
+# Apache 2.2
+
+ Order deny,allow
+ Deny from all
+
+ Allow from all
+
+
+ Allow from all
+
+
+
+# Apache 2.4
+
+ Require all denied
+
+ Require all granted
+
+
+ Require all granted
+
+