All lessons Leer en español

Security in depth · Unit 28 · Lesson 7 of 11

Collect less, protect a smaller footprint

Choose fields and retention from the job they serve, including copies outside the main form.

4 minreadyShort lesson

Helpful before thisThreat modeling: ask before building

See all lessons in this topic

After this lesson you can

  • Produce a purpose-based field and retention decision for collection, exports, and logs.

Every extra field creates another thing to explain, restrict, and eventually remove.

Start with the decision the data supports

Data minimization links each field to a defined purpose. Ask what the service cannot do without it, whether a less detailed value suffices, and when that need ends. Encryption protects data in certain situations; it does not create a reason to collect it.

Different destinations can need different subsets. An operational export, a diagnostic log, and the main record should not automatically inherit the same fields.

Defined purpose → Minimum necessary data → Controlled retentionDefined purposeMinimum necessary dataControlled retention
Follow purpose into each destination, including logs and exports. Retention needs a reason and an owner as well as a date.

Supplied record: a mural workshop

The fictional workshop owner approves reminders and paint-group assignments. There is no age eligibility rule or separate requirement to retain birth dates.

Signup: preferred name, email, paint group, full birth date.
Field notes: birth date copied from an old template; no current purpose.
Volunteer export: names, paint groups, and birth dates.
Diagnostic log: stores the complete submitted form.
Reminder policy: delete contact details seven days after the workshop.

Assume these are the complete approved purposes. The seven-day period is this workshop’s decision, not a universal retention rule. Volunteers need assignments, while diagnostic work needs sufficient event context rather than every submitted value.

Write a smaller data design

Propose removing birth date from collection and reviewing existing exports and logs. Keep only the fields necessary for each destination, with a documented retention decision for remaining copies.

Your decision sheet should name the responsible owner and evidence of the changed data flow. Hiding a field visually is not enough if another collection path still accepts and stores it. Treat existing backups under their documented retention process instead of claiming the form change erased every copy.

Check yourself

No timer. No penalties. Read the explanation and try again whenever you like.

  1. Which proposal best matches the mural workshop record?

    Show the answer

    Correct answer: Remove birth date from collection and downstream records, retaining only fields each workflow needs. No approved workshop purpose requires birth date. The form, export, and diagnostic log need separate field decisions because their purposes differ.

Try it

  • WriteWrite a three-row decision sheet for the signup form, volunteer export, and diagnostic log. State necessary fields, owner, retention purpose, and evidence that an unnecessary field is no longer collected.
References