Privacy by design
Last updated
Pila knows who visits the health centre, when, and, with the vaccination reminders, about their babies' health. That's sensitive personal information under Philippine law. In this lesson you'll meet the seven principles of privacy by design, the duties the Data Privacy Act of 2012 puts on anyone who processes personal data, and the privacy impact assessment the National Privacy Commission recommends. Then you'll decide, field by field, what Pila should collect at all.
By the end of this lesson you can
- Name the principles of privacy by design, and apply them to a feature
- Apply the Data Privacy Act’s principles of transparency, legitimate purpose and proportionality
- Collect only the data a feature needs
Seven principles
In the 1990s, Ann Cavoukian, later the information and privacy commissioner of Ontario, Canada, set out privacy by design: privacy built into systems from the start, not added after a complaint. Her seven principles:
| Principle | For Pila |
|---|---|
| Proactive, not reactive; preventive, not remedial | Think about privacy in planning, before any data is collected |
| Privacy as the default setting | A patient who does nothing has the most privacy: no reminders until they agree |
| Privacy embedded into design | Part of the design document, not a separate add-on |
| Full functionality: positive-sum, not zero-sum | Reminders that work and protect privacy; not one or the other |
| End-to-end security: full life-cycle protection | From collection to secure deletion, backups included |
| Visibility and transparency | Tell patients plainly what’s collected and why |
| Respect for user privacy: keep it user-centric | Easy to opt out: text STOP |
The Data Privacy Act
In the Philippines, the Data Privacy Act of 2012 (Republic Act 10173) applies to anyone processing personal information, including a barangay and the company it hires. It's enforced by the National Privacy Commission (NPC). Three of its principles shape design directly:
- Transparency: people know what's collected, why, and by whom.
- Legitimate purpose: data is collected for a declared, lawful purpose, and not used for others.
- Proportionality: only the data that purpose needs, kept only as long as it's needed.
The Act defines sensitive personal information, which includes a person's health. It may only be processed in the cases the law allows, such as with the person's consent, and needs stronger protection. Pila's reminders, which reveal that a family has a baby due a vaccine, fall under that.
This is a summary for learning, not legal advice; a real project would check with the barangay's data protection officer.
What should Pila collect?
Ate Cora's first form for the reminders asked for everything the paper records have. Choose what the feature actually needs:
0 of 8 placed right
The phone number to text
The vaccine and the date it’s due
Which health centre to go to
The mother’s full name
The family’s home address
The baby’s full date of birth
Religion
PhilHealth number
Data you never collect can't leak, can't be misused, and doesn't need protecting.
A privacy impact assessment
The NPC recommends a privacy impact assessment (PIA) for systems that process personal data: a structured look at what's collected, what could go wrong for the people it's about, and what's done about it. Do a short one for the reminders:
- Names the data (not yet)
- Says where it’s stored (not yet)
- Says who can see it (not yet)
- At least two risks (not yet)
- Thinks about the person, not just the system (not yet)
- At least one measure for each risk (not yet)
- Something about consent or opting out (not yet)
- Something about retention or deletion (not yet)
Spot the trap: “we might need it someday”
Designing the reminders table, Marco adds columns for address, birthday and PhilHealth number. “We don’t use them yet, but we might need them someday. Easier to collect now.”
What happens if…
Check what you learned
Sources
Every claim on this page comes from these sources: the standard, the founding text of a method, a study, or the official record of a project, from the body that publishes it. Industry reports are labelled as such.
- Ann Cavoukian: Privacy by Design, the 7 Foundational Principles (IETF workshop slides): the principles, by the Ontario privacy commissioner who wrote them
- National Privacy Commission: Data Privacy Act of 2012: the Act, with the Commission’s explanations
- Republic Act No. 10173 (The LawPhil Project): the full text, including the definition of sensitive personal information
- National Privacy Commission: Privacy Impact Assessment (NPC Advisory 2017-03): how to carry out a privacy impact assessment