eduardolat / pgbackweb

🐘 Effortless PostgreSQL backups with a user-friendly web interface! 🌐💾
MIT License
924 stars 44 forks source link

Backups Not Encrypted #6

Closed nealhead closed 2 months ago

nealhead commented 3 months ago

It would appear that the backups in the S3 bucket are stored in an unencrypted ZIP file. Is this intended?

eduardolat commented 3 months ago

Yes, that's how it works.

PG Back Web encrypts sensitive data (connection strings, keys, etc.) stored in its own database.

Regarding storage, data is encrypted by default on the majority of S3 storage providers, so the responsibility is delegated to them.

https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingEncryption.html https://www.backblaze.com/docs/cloud-storage-server-side-encryption https://docs.wasabi.com/docs/how-secure-is-my-data-1 https://developers.cloudflare.com/r2/reference/data-security/ https://www.digitalocean.com/security/shared-responsibility-model-spaces

eduardolat commented 3 months ago

Maybe in the future when other features on the to-do list are done we can add a flag to add an encryption layer by PG Back Web