Backups encryption

by Alk ยท 9 years ago

Given the personal data that Blesta installations hold, in line with data protection laws, it would be appropriate for the backups feature to have encryption.
Whilst the servers where Blesta are installed are likely to have extra security safeguards in place, the offsite backup locations are less likely to have the same security setups. Additionally, data may be offloaded to a different organisation which can create additional complexity. If the data were packaged encrypted, only the Blesta installation owner would have access to the data, negating any data protection issues with where the data is being offloaded to as part of the backup.

Comments (6)
Paul Phillips Staff 9 years ago

Encrypting a large amount of data on the fly with PHP is not feasible as it's incredibly slow. However, it might be possible to use openssl on the linux system to perform the encryption, prior to securely transferring it to a remote location. I found this article that describes that https://blog.cavebeat.org/2016/02/encrypted-backups-with-secure-mysqldump/

turner2f 6 years ago

Also need ability to delete the backups without having to access through FTP

Paul Phillips Staff 6 years ago

Delete them how?

turner2f 6 years ago

Specifically, via the admin dashboard for the backups.

There should be a list of the backups and the ability to delete them as needed.

An alternative idea is to have a fixed amount of backups that can be created, and for the extra ones to be dynamically , auto-deleted from the server.

Paul Phillips Staff 6 years ago

Oh, I see.. you want to see and delete backups from the UI. Maybe also automatically delete backups older than a certain number of days?

The only problem with being able to delete backups is that if an attacker gained access to your server, they could easily delete backups.

turner2f 6 years ago

If they gained access to the server they could do this with or without the UI .

2

2 voters

Status Under Review
Category Automation