GDPR Article 32 requires controllers and processors to implement appropriate technical and organisational measures to secure personal data, taking into account the risk. For servers, that translates into protecting confidentiality, integrity, availability and resilience, being able to restore data in time, and regularly testing that your measures work. If a breach happens anyway, Article 33 gives you 72 hours from awareness to notify the supervisory authority, so your servers also need to produce the facts you will need.
What Article 32 actually says
Article 32 of the GDPR, Regulation (EU) 2016/679, does not prescribe specific technologies. It requires a level of security appropriate to the risk, considering the state of the art, the costs of implementation, and the nature, scope, context and purposes of processing, as well as the risks to people’s rights and freedoms.
Article 32(1) then lists measures that may be appropriate, including:
- (a) the pseudonymisation and encryption of personal data;
- (b) the ability to ensure the ongoing confidentiality, integrity, availability and resilience of processing systems and services;
- (c) the ability to restore the availability and access to personal data in a timely manner in the event of a physical or technical incident;
- (d) a process for regularly testing, assessing and evaluating the effectiveness of technical and organisational measures.
Article 32 applies to both controllers and processors. If you host or manage servers for clients, you are likely a processor, and your contract under Article 28 will usually refer to these measures.
“Appropriate” is a risk-based judgement. A server processing health data needs stronger measures than one hosting a public brochure site. When in doubt about what is appropriate in your case, involve your data protection officer or a legal advisor.
Confidentiality: keep unauthorised people out
On Linux servers, confidentiality starts with access control and exposure:
- SSH: key-only authentication, root login disabled, failed attempts limited (for example with fail2ban).
- Users and keys: review accounts,
authorized_keysfiles and sudo rules regularly; remove what is no longer needed. - Exposure: databases and admin services should not listen on public interfaces. Check with
ss -tlnpand verify from outside. - Encryption in transit: TLS with current protocols for every service that carries personal data.
- Encryption at rest: disk or database encryption where the risk justifies it, and always for backups that leave the server.
A common, avoidable leak is a web server answering 200 for files like /.env or /.git/config. These often contain credentials that lead directly to personal data.
Integrity: detect unwanted changes
Integrity means data and systems are not altered without authorisation. Practical measures:
- monitor changes to sensitive files (
/etc/passwd, sudoers,sshd_config) and scheduled tasks; - detect new users and new SSH keys;
- apply security updates so known vulnerabilities cannot be used to modify data;
- watch for signs of compromise, such as processes running from temporary folders or unexpected library preloading.
Availability and resilience: keep the service running
Availability and resilience cover both attacks and ordinary failures:
- monitor CPU, memory, disk space and inodes, and act before a full disk stops your database;
- keep backups off the server, protect at least one copy against deletion, and test restores to meet Article 32(1)(c);
- understand that large volumetric DDoS attacks must be mitigated upstream by your hosting provider or CDN;
- keep services patched and reboot when kernel updates require it.
Regular testing: Article 32(1)(d)
This is the part most often missing. Measures configured once tend to drift: a firewall rule gets removed during debugging, a test user is never deleted, an update breaks automatic patching.
A testing process can include:
- automated, recurring configuration and vulnerability checks;
- periodic external checks of open ports, TLS and HTTP security headers;
- restore tests of backups;
- review of findings with dates and outcomes.
Keep records. Under the accountability principle in Article 5(2), you must be able to demonstrate compliance, not only achieve it.
Breach notification: Article 33 and the 72 hours
Under Article 33, the controller must notify the competent supervisory authority of a personal data breach without undue delay and, where feasible, not later than 72 hours after becoming aware of it, unless the breach is unlikely to result in a risk to people’s rights and freedoms. If notification is late, reasons for the delay must be given.
Some key points:
- A processor must notify the controller without undue delay after becoming aware of a breach.
- The notification must describe the nature of the breach, the categories and approximate number of people and records concerned, likely consequences and measures taken. Information can be provided in phases.
- Under Article 33(5), the controller documents all personal data breaches, including those not notified.
- Under Article 34, people must be informed directly when the breach is likely to result in a high risk to them.
To answer these questions in 72 hours, you need server-side facts: when unauthorised access started, which systems were reached, what was exposed. That depends on logs and monitoring being in place before the breach.
Logs and personal data minimisation
Logs are essential evidence, but they are also personal data processing in their own right. Server logs often contain IP addresses, usernames, email addresses and sometimes URLs with tokens or personal parameters. IP addresses can be personal data in many contexts.
Balance the two needs:
- Collect what you need for security: authentication events, sudo usage, access log summaries, errors.
- Avoid what you do not need: request bodies, cookies, full query strings with personal parameters.
- Set retention: configure journald (
SystemMaxUse,MaxRetentionSec) and logrotate so logs are kept long enough for investigation but not indefinitely, in line with the storage limitation principle in Article 5(1)(e). - Protect logs: restrict who can read them; ship copies to a protected location.
- Redact secrets: passwords, tokens and keys should never end up in logs sent to third-party tools.
Document your choices, for example in your record of processing activities, so you can explain them to an authority or a client.
How Avanguard helps
Avanguard is a technical aid for the server side of Article 32; it does not make you GDPR compliant.
- The agent detects missing security updates, SSH root or password login, missing firewall, databases listening on all interfaces, new users and SSH keys, changes to system files and exposed sensitive files such as
/.env. - Secrets (passwords, tokens, API keys, private keys, connection strings, emails) are redacted on the server before sending; file and database contents are never read, and query strings, headers, cookies and bodies of HTTP requests are never collected. See security and privacy.
- The incident kit tracks the GDPR 72-hour authority deadline from awareness, with a timeline and evidence snapshots.
- The compliance page maps findings onto GDPR controls as a technical aid. More in GDPR for Linux servers.
Summary
- Assess risk first; Article 32 asks for measures appropriate to it.
- Cover confidentiality, integrity, availability and resilience on every server that processes personal data.
- Make sure you can restore data in a timely manner, and test it.
- Test and evaluate measures regularly, and keep records.
- Prepare for Article 33: 72 hours from awareness, with server facts ready.
- Keep logs useful but minimal, with defined retention.
- Confirm your specific obligations with your DPO or legal advisor.