GDPR & privacy
The GDPR (General Data Protection Regulation, EU 2016/679) governs the processing of personal data in the EU. It matters twice over for security: it imposes security measures on data and requires breach notification within strict deadlines. In Spain it is complemented by the LOPDGDD (LO 3/2018) and supervised by the AEPD.
What it is
Section titled “What it is”The GDPR is a directly applicable European regulation that protects the rights of natural persons regarding the processing of their personal data. It is not just “legal paperwork”: Article 32 turns information security into a legal obligation, and Article 33 links directly to incident response. Understanding it is part of the job for any security role that touches personal data.
Why it matters
Section titled “Why it matters”- Fines reach up to EUR 20 million or 4% of global annual turnover (whichever is higher).
- A personal-data breach triggers an obligation to notify within 72 hours: it is a security problem, not just a legal one.
- Privacy by design forces you to think about data protection at the architecture stage, not at the end.
- It applies to any organization processing data of EU residents, wherever it is based.
Key concepts
Section titled “Key concepts”- Personal data: any information about an identified or identifiable person.
- Special categories (Art. 9): health, ethnic origin, religion, biometrics, sexual orientation… with reinforced protection.
- Controller: decides the why and the how of the processing.
- Processor: processes data on behalf of the controller, governed by an Article 28 contract.
- Data subject: the person whose data is processed and the holder of the rights.
Article 5 principles
Section titled “Article 5 principles”- Lawfulness, fairness, and transparency.
- Purpose limitation: data is collected for specified, explicit purposes.
- Data minimization: only the necessary data.
- Accuracy and storage limitation.
- Integrity and confidentiality (security).
- Accountability: you must be able to demonstrate compliance.
Legal bases and rights
Section titled “Legal bases and rights”Every processing activity needs a legal basis under Article 6: consent, performance of a contract, legal obligation, vital interest, public interest, or legitimate interest.
Data subjects have rights (Arts. 15-22): access, rectification, erasure (“right to be forgotten”), objection, restriction of processing, portability, and not being subject to automated decisions.
Security and privacy by design
Section titled “Security and privacy by design”- Article 25: data protection by design and by default.
- Article 32: proportionate technical and organizational measures (encryption, pseudonymization, resilience, periodic effectiveness testing).
- DPIA (Art. 35): mandatory impact assessment for high-risk processing.
- Records of processing activities (Art. 30) and a DPO (Art. 37) where applicable.
Privacy threat modeling (LINDDUN) fits here; link with Threat modeling and Threat modeling in design.
Breach notification
Section titled “Breach notification”flowchart TD
A[Breach detected] --> B{Risk to rights and freedoms?}
B -->|No| C[Document internally Art. 33.5]
B -->|Yes| D[Notify the AEPD within 72 h Art. 33]
D --> E{HIGH risk?}
E -->|No| F[End: record and follow-up]
E -->|Yes| G[Communicate to data subjects without delay Art. 34]
Every breach must be documented even if not notified. The 72-hour clock starts when the organization becomes aware of the breach, so the process must be integrated into the IR plan (Incident response).
Spanish framework and transfers
Section titled “Spanish framework and transfers”- LOPDGDD (LO 3/2018) complements the GDPR in Spain; the AEPD is the supervisory authority.
- International transfers: standard contractual clauses (SCC), adequacy decisions, and, after Schrems II, transfer impact assessments (TIA).
In practice
Section titled “In practice”- Keep the records of processing (Art. 30) alive: it is the first thing the AEPD asks for in an inspection.
- Integrate the 72-hour notification process into the incident runbook, with templates and assigned roles.
- Sign processor contracts (Art. 28) with every provider that processes data on your behalf.
- Run a DPIA before launching high-risk processing (profiling, large-scale surveillance, special-category data).
Common mistakes
Section titled “Common mistakes”- Confusing pseudonymization with anonymization: pseudonymized data is still personal data.
- Basing every processing activity on “legitimate interest” without carrying out the required balancing test.
- Forgetting the 72-hour clock until half the deadline has gone analyzing the breach.
- Treating the GDPR as solely a legal-department matter and leaving security and engineering out.
Checklist
Section titled “Checklist”- Records of processing activities (Art. 30) kept up to date
- Legal basis identified for each processing activity (Art. 6)
- Article 32 security measures (encryption, pseudonymization, testing)
- Privacy by design and by default (Art. 25) in the SDLC
- DPIA for high-risk processing (Art. 35)
- 72-hour breach notification process (Art. 33) in the IR plan
- Processor contracts (Art. 28) with providers and a DPO where applicable
- Procedure to handle data subject rights (Arts. 15-22)