Data retention policy
A data retention policy defines the purpose, start, duration and end of storage. Deletion jobs and copies must be addressed in the implementation.
Define a rule for each data class
A data retention policy describes which data is stored for which purpose, for how long, and what happens afterward. It includes the starting point and intended deletion, anonymisation or restricted archiving. An archive flag in the same active database does not by itself govern access.
For personal data in the EU GDPR context, duration depends on the processing purpose and applicable obligations. The GDPR does not prescribe a fixed number of days for every data type. A technical default duration must not replace that assessment.
Manage a time-limited export copy
A fictional portal generates download file export-31. Its product rule makes this copy available for 24 hours from creation. The download check blocks expired copies; a deletion job subsequently removes the file. This duration is an assumption of the example, not a general statutory retention period. The original business data follows a separate rule.
Merely hiding the file in the interface does not fulfil the deletion job. The team must also establish whether copies exist in queues, caches or backups, and which durations and access restrictions apply there.
Demonstrate the operational effect
A stored duration value does not prove deletion occurred. Failed jobs must be detectable. Restoring a backup also needs a process that does not make expired export copies available for download again. The rule must therefore fit the actual storage locations and restoration paths.
Sources
Related terms
- Audit logAn audit log makes important application events traceable. Actor, action, affected object and outcome need to be readable together.
- Key rotationKey rotation introduces new key material. Older data and backups need a plan for the key versions they still require for decryption.
- Data minimisationData minimisation limits personal data to what is adequate, relevant and necessary for a defined purpose.
- Envelope encryptionEnvelope encryption separates the data key from the key protecting it. The encrypted file and wrapped data key need to be managed together.
- Password saltingPassword salting gives each new password hash its own random additional value. The salt is stored alongside it and does not need to be secret.
- Argon2Argon2 is a family of memory-intensive password hash functions. The variant, memory use and runtime must suit security and operational requirements.
Articles on this topic

Your project with ASES
Describe your project to us. We will get back to you with an initial assessment.
