GDPR for application builders
| Full name | General Data Protection Regulation, Regulation (EU) 2016/679 |
|---|---|
| Applies to | Organisations in the EU, and those outside it that offer goods or services to people in the EU or monitor their behaviour there |
| Key terms | Personal data, controller, processor, lawful basis, consent |
| Upper fine | 20 million euros or 4% of worldwide annual turnover, whichever is higher |
| Related | Breach notification, Data retention, Trackers before consent |
An application that stores a customer's email address, or makes the visitor's browser fetch a font from another company's server, is processing personal data in the sense of the General Data Protection Regulation (GDPR). The regulation counts every operation on such data as processing, from collection and storage to retrieval, disclosure and erasure.1 It sets the conditions under which that processing is lawful, the rights of the people the data describes, and the security the data must have.
Who it applies to
The GDPR covers processing in the context of an establishment in the EU, wherever the servers are.2 A business with no EU establishment falls under it as well when it offers goods or services to people in the EU, paid or free, or monitors how they behave there.2 A US-hosted app that offers its service to users in the EU, or tracks European visitors with analytics, is covered.
Personal data in an application
Personal data is any information about a person who is identified or can be identified, directly or indirectly. The definition names an identification number, location data and an online identifier alongside a name.1 The recitals (the numbered explanations printed before the articles) give IP addresses and cookie identifiers as examples of such online identifiers, and note that combined with other data held on servers they can be used to build profiles of people and identify them.3 A user ID in a database row, a session cookie and a request log therefore all hold personal data.
Controller and processor
The controller decides why and how personal data is processed. A processor handles it on the controller's behalf.1 In a typical app the builder is the controller, and the hosting platform, the managed database, the email delivery service and the error tracker act as processors.
A controller may only use processors that give sufficient guarantees of appropriate protection, and the relationship must be set down in a contract. That contract, often called a data processing agreement, states what data is handled, why and for how long. It binds the processor to act only on the controller's documented instructions, including on transfers to countries outside the EU. A processor may not bring in another processor without the controller's written authorisation.4
Lawful basis
Processing is lawful only when at least one of six grounds applies.5 An email address needed for the login falls under contract, since the service cannot be delivered without it. Invoices that a law requires the business to keep fall under legal obligation. Legitimate interests covers processing the business needs for its own purposes, unless the person's interests or rights outweigh them, with extra weight when the person is a child.5
Consent must be freely given, specific, informed and unambiguous, expressed by a statement or a clear action.1 A tracker that loads before the visitor has chosen anything runs with no consent at all (Trackers before consent).
Principles that shape the code
The controller must follow the principles of Article 5 and be able to show that it does.6 Several become design decisions:
| Principle | In an application |
|---|---|
| Purpose limitation | Data collected for login is not reused for advertising without a new basis. |
| Data minimisation | Forms ask only for fields the feature uses; logs leave out emails and tokens (Personal data in logs). |
| Storage limitation | Accounts, logs and backups are deleted on a schedule (Data retention). |
| Integrity and confidentiality | Access control, encryption and tested backups. |
Controller and processor both choose security measures by weighing the state of the art and the cost against the risk to people. The text names encryption, pseudonymisation (replacing names with keys whose mapping is stored apart), the ability to restore data in a timely manner after an incident, and regular testing of the measures.7 A database left readable without a password, as in Responding to a database exposed to the internet, is a personal data breach: a security failure that leads to unauthorised access to, or loss of, personal data.1
Requests from users
Articles 15 to 22 give people rights over their data, exercised by sending the controller a request. The controller answers without undue delay and at the latest within one month, extendable by two further months for complex or numerous requests if the person is told why within the first month. A request sent electronically is answered electronically where possible. The answer is free; for manifestly unfounded or excessive requests, such as repeated ones, the controller may charge a reasonable fee or refuse.8
Records and fines
Controllers keep a written record of processing: purposes, categories of people and data, recipients, transfers outside the EU, planned erasure periods and a description of security measures. Organisations with fewer than 250 employees are exempt unless the processing is not occasional, is likely to put people at risk, or includes the special categories of Article 9 or data on criminal convictions.9
Breaking the security and processor rules can cost up to 10 million euros or 2% of worldwide annual turnover in the preceding year, whichever is higher. The principles, the lawful bases, consent and the rights of users sit in the upper tier: up to 20 million euros or 4%.10
The Google Fonts judgment
On 20 January 2022 the Munich regional court ruled on a website that loaded Google Fonts from Google's servers. When the claimant visited, his browser sent his IP address to Google, and he had not consented.11 The IP address was personal data for the operator, the court held, because the operator had legal means, through the authorities and the internet provider, to have the person behind it identified. It rejected legitimate interests as a basis because the fonts could be used without any connection to a Google server.11 The operator was ordered to stop, to tell the claimant what data it held about him, and to pay 100 euros in damages for non-material harm.11 Fonts, scripts and images served from the app's own domain avoid the transfer; Third-party requests describes how to find them.
In SecFlash
SecFlash reports these privacy findings on the Security page: SF-SEC-507 when a tag sends data before the visitor makes a consent choice, SF-SEC-506 when it keeps sending after the visitor declines, SF-SEC-502 for third-party cookies set before consent, SF-SEC-504 for data sent to servers outside the EU, SF-SEC-505 for an email, name or user ID sent to an advertising company, and SF-SEC-508 for a user ID or email in a page address passed to a third party.
See also
- Breach notification
- Data retention
- Trackers before consent
- Third-party requests
- Personal data in logs
- Personal data in URLs
- Encryption at rest
- Category: Data exposure
References
- a b c d e "Art. 4 GDPR: Definitions". gdpr-info.eu (text of Regulation (EU) 2016/679).
- a b "Art. 3 GDPR: Territorial scope". gdpr-info.eu (text of Regulation (EU) 2016/679).
- back "Recital 30: Online identifiers for profiling and identification". gdpr-info.eu (text of Regulation (EU) 2016/679).
- back "Art. 28 GDPR: Processor". gdpr-info.eu (text of Regulation (EU) 2016/679).
- a b "Art. 6 GDPR: Lawfulness of processing". gdpr-info.eu (text of Regulation (EU) 2016/679).
- back "Art. 5 GDPR: Principles relating to processing of personal data". gdpr-info.eu (text of Regulation (EU) 2016/679).
- back "Art. 32 GDPR: Security of processing". gdpr-info.eu (text of Regulation (EU) 2016/679).
- back "Art. 12 GDPR: Transparent information, communication and modalities for the exercise of the rights of the data subject". gdpr-info.eu (text of Regulation (EU) 2016/679).
- back "Art. 30 GDPR: Records of processing activities". gdpr-info.eu (text of Regulation (EU) 2016/679).
- back "Art. 83 GDPR: General conditions for imposing administrative fines". gdpr-info.eu (text of Regulation (EU) 2016/679).
- a b c Landgericht München I (20 January 2022). "Endurteil 3 O 17493/20" (in German). Bayern.Recht, GRUR-RS 2022, 612.
External links
- Regulation (EU) 2016/679 (General Data Protection Regulation), EUR-Lex, the official text in all EU languages