Consent cookies data minimisation and what the delete button requires
It is a widespread misconception that data protection only concerns lawyers. In reality, a large part of it is determined in code: which fields a form collects, which cookies a page sets, where data is sent, and whether a user's data can even be found and deleted again. The Data Protection Regulation (GDPR) applies as soon as a page processes information about identifiable people — and most do.
Personal data is any information about an identifiable person — not just the obvious like name and email. Also an IP address, a device ID, a cookie value or a combination of information that together points to a person counts. As a developer the point is to know what data a site actually collects — also what happens in the background via third-party scripts and statistics.
One of the strongest principles is data minimisation: collect only what you really need. It is a concrete decision every time you create a form. Do you really need birth date phone number and address to send a newsletter? Every field you remove is data you do not need to protect store safely or be able to delete again. Less collection is both more privacy-friendly and less work for you.
Users have the right to insight, correction, deletion and to have their data handed over. These rights live or die depending on how you have built the system. Can you find all data about a specific person? Can you export it in a usable format? Can you delete it — also in log files, in backups and with third parties you have sent it to? A 'delete my account' button that actually just hides the account does not fulfil the right to deletion. Think it into the data model from the start.
Modern websites often rely on external services: statistics, fonts, maps, video embedding, payment solutions. Every time you embed something external, the user's data — at minimum the IP address — can be sent to the third party. Be aware of which third parties a site talks to, whether there is a data processor agreement and where data ends up. What looks like a harmless embedding can be a data transfer that must comply with the rules.
The regulation requires an appropriate level of security — without prescribing specific figures or products because it must be adapted to risk. In practice it is the same web security practices that apply: encryption during transport secure storage of passwords access control on the server updated components and logging so a breach can be detected. A data breach — e.g. a leaked database with user information — triggers a notification requirement so the ability to detect and document it is part of compliance not just good practice.
“Privacy is not a banner text you pour in at the end. It is determined in the data model, in the form's fields and in what the page sends forward in the background.”
— Rule of thumb from web development with personal data.