summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-07-02 08:20:15 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-07-02 08:20:15 +0000
commit7053bcec163a8ceaf89681760700425e5c4f7dbb (patch)
tree99c6c52267369060e40303793922605fdafb1b6e /roundcubemail/program
parent1df7e640b463942121c53105b987516ad805f399 (diff)
Improve .htaccess rules to make it less easy to fingerprint roundcube version
by denying access to files and stoping directory indexes (#1484066) git-svn-id: https://svn.roundcube.net/trunk@4899 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/.htaccess4
1 files changed, 4 insertions, 0 deletions
diff --git a/roundcubemail/program/.htaccess b/roundcubemail/program/.htaccess
new file mode 100644
index 000000000..4ad1b9d12
--- /dev/null
+++ b/roundcubemail/program/.htaccess
@@ -0,0 +1,4 @@
+<IfModule mod_rewrite.c>
+RewriteEngine On
+RewriteRule !^js|.*\.gif$ - [F]
+</IfModule>