diff options
author | Bernhard Posselt <Raydiation@users.noreply.github.com> | 2015-08-06 10:43:20 +0200 |
---|---|---|
committer | Bernhard Posselt <Raydiation@users.noreply.github.com> | 2015-08-06 10:43:20 +0200 |
commit | 6f9f20b3fe6b20b7478e1315b6458354c7137a01 (patch) | |
tree | cb0eb4b1b66b44addde152fdda20519eea9c0f0f | |
parent | 923a22a11eb397090d74dadf17d0f029f826dfbc (diff) | |
parent | 546cd39217dde8a614be45721d4c26fafe50794b (diff) | |
download | nextcloud-server-6f9f20b3fe6b20b7478e1315b6458354c7137a01.tar.gz nextcloud-server-6f9f20b3fe6b20b7478e1315b6458354c7137a01.zip |
Merge pull request #17810 from owncloud/better-enc-warnings
Condense doc warnings into small section that gets showed to the user…
-rw-r--r-- | settings/css/settings.css | 6 | ||||
-rw-r--r-- | settings/templates/admin.php | 13 |
2 files changed, 16 insertions, 3 deletions
diff --git a/settings/css/settings.css b/settings/css/settings.css index e0fe9b446be..0af63821627 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -386,6 +386,12 @@ table.grid td.date{ display: inline-block; } +#encryptionAPI li { + list-style-type: initial; + margin-left: 20px; + padding: 5px 0; +} + .mail_settings p label:first-child { display: inline-block; width: 300px; diff --git a/settings/templates/admin.php b/settings/templates/admin.php index 4203ee2cad7..ff8a2f0c953 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -326,10 +326,17 @@ if ($_['cronErrors']) { </p> <div id="EncryptionWarning" class="warning hidden"> - <?php p($l->t('Encryption is a one way process. Once encryption is enabled, all files from that point forward will be encrypted on the server and it will not be possible to disable encryption at a later date. This is the final warning: Do you really want to enable encryption?')) ?> - <input type="button" + <p><?php p($l->t('Please read carefully before activating server-side encryption: ')); ?></p> + <ul> + <li><?php p($l->t('Server-side encryption is a one way process. Once encryption is enabled, all files from that point forward will be encrypted on the server and it will not be possible to disable encryption at a later date')); ?></li> + <li><?php p($l->t('Anyone who has privileged access to your ownCloud server can decrypt your files either by intercepting requests or reading out user passwords which are stored in plain text session files. Server-side encryption does therefore not protect against malicious administrators but is useful for protecting your data on externally hosted storage.')); ?></li> + <li><?php p($l->t('Depending on the actual encryption module the general file size is increased (by 35%% or more when using the default module)')); ?></li> + <li><?php p($l->t('You should regularly backup all encryption keys to prevent permanent data loss (data/<user>/files_encryption and data/files_encryption)')); ?></li> + </ul> + + <p><?php p($l->t('This is the final warning: Do you really want to enable encryption?')) ?> <input type="button" id="reallyEnableEncryption" - value="<?php p($l->t("Enable encryption")); ?>" /> + value="<?php p($l->t("Enable encryption")); ?>" /></p> </div> <div id="EncryptionSettingsArea" class="<?php if (!$_['encryptionEnabled']) p('hidden'); ?>"> |