Ask HN: How are you implementing GDPR-compliant soft deletes?
1–10 of 86 posts
Re: Ask HN: How are you implementing GDPR-compliant soft deletes?
#2https://gdpr-info.eu/art-17-gdpr/
> the controller shall have the obligation to erase personal data without undue delay
Re: Ask HN: How are you implementing GDPR-compliant soft deletes?
#3Re: Ask HN: How are you implementing GDPR-compliant soft deletes?
#4Re: Ask HN: How are you implementing GDPR-compliant soft deletes?
#5Re: Ask HN: How are you implementing GDPR-compliant soft deletes?
#6Re: Ask HN: How are you implementing GDPR-compliant soft deletes?
#7Another pattern you might consider is setting an expiry date on a database row. You only show values where the expiry date is null. Every night you have a cronjob or some other process that deletes all objects that have expired.
If you want to expire something, you can now easily calculate it and you can even easily change the timeout/lifespan without having to update the data in the database.
Re: Ask HN: How are you implementing GDPR-compliant soft deletes?
#8Deletion of backup-data is also an interesting topic
[edit to clarify that you wipe the customer details]
Re: Ask HN: How are you implementing GDPR-compliant soft deletes?
#9Another pattern you might consider is setting an expiry date on a database row. You only show values where the expiry date is null. Every night you have a cronjob or some other process that deletes all objects that have expired.
Re: Ask HN: How are you implementing GDPR-compliant soft deletes?
#10Deletion of backup-data is also an interesting topic
If I restore a backup it will go via this list and ensure that content in my backups which are keyed to deleted accounts are never restored.
In theory we have the data, but it's never reachable by internal systems. -- Anything else is essentially compromising the integrity of a backup.