summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-04-16 22:39:44 +0200
committerLukas Reschke <lukas@owncloud.com>2015-04-20 11:12:17 +0200
commit4ea205e2629455d908a30367d5f42f9d07c1fd45 (patch)
tree4c83f259c527a2726405b7b14aa0501c2393f9cc /config
parent9cb260d310de5bed546531eff5fbf0b7518f0f2f (diff)
downloadnextcloud-server-4ea205e2629455d908a30367d5f42f9d07c1fd45.tar.gz
nextcloud-server-4ea205e2629455d908a30367d5f42f9d07c1fd45.zip
Block old legacy clients
This Pull Request introduces a SabreDAV plugin that will block all older clients than 1.6.1 to connect and sync with the ownCloud instance. This has multiple reasons: 1. Old ownCloud client versions before 1.6.0 are not properly working with sticky cookies for load balancers and thus generating sessions en masse 2. Old ownCloud client versions tend to be horrible buggy In some cases we had in 80minutes about 10'000 sessions created by a single user. While this change set does not really "fix" the problem as 3rdparty legacy clients are affected as well, it is a good work-around and hopefully should force users to update their client
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 61ae59542d4..e0e4a3cae97 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -799,6 +799,14 @@ $CONFIG = array(
*/
'cipher' => 'AES-256-CFB',
+/**
+ * The minimum ownCloud desktop client version that is required to sync with
+ * this instance. Defaults to the official supported releases by ownCloud.
+ *
+ * When adjusting this please be aware of the fact that older versions may
+ * be buggy and for best user experience we recommend setting
+ */
+'minimum.supported.desktop.version' => '1.7.0',
/**
* Memory caching backend configuration