The short answer
The GDPR applies to an app that offers goods or services to people in the EU, or monitors their behavior there, wherever the company behind it is based; the UK has its own, very similar UK GDPR. In product terms it means collecting only what you need, having a lawful basis for each use, asking for consent where the law requires it, and giving people screens or tools to see, export, correct and delete their data. Behind the screens it means contracts with every vendor that handles personal data, a plan for breaches and a written record of what you process.
Key points
- Article 3 reaches companies outside the EU that offer goods or services to people in the EU, even for free. UK GDPR does the same for people in the UK.
- Every use of personal data needs one of six lawful bases. Consent is only one of them, and it must be as easy to withdraw as to give.
- Article 25 asks for data protection by design and by default: collect less, keep it for less time, and make private the starting setting.
- Cookies and similar tracking need consent unless they are strictly necessary, under the separate ePrivacy rules.
- Build access, export, correction and deletion into the product and the admin panel, so a request is a routine task, not a scramble.
- This is general information, not legal advice. For your own case, read your regulator’s guidance or ask a privacy lawyer.
Who the GDPR applies to
The General Data Protection Regulation, Regulation (EU) 2016/679, applies to companies established in the EU. Article 3 also reaches companies outside the EU when they process the personal data of people in the EU and that processing relates to offering them goods or services, whether or not the people pay, or to monitoring their behavior in the EU. A startup in India, the US or Brazil with users in the EU can be in scope for those users.
A company outside the EU that is in scope must, in most cases, name a representative in the EU in writing (Article 27). There is an exception for processing that is occasional, low risk and does not involve sensitive data on a large scale.
The UK kept the GDPR in its own law as the UK GDPR, alongside the Data Protection Act 2018. The UK regulator, the ICO, says organizations outside the UK must comply and appoint a UK representative if they offer goods or services to people in the UK or monitor their behavior. Both laws can apply to the same app. In December 2025 the European Commission renewed its decision that the UK protects data adequately, so data can flow from the EU to the UK without extra safeguards.
Two roles matter. The controller decides why and how personal data is processed; for your app, that is usually your company. A processor handles personal data on the controller’s behalf, such as your hosting provider, email service or a development agency with access to production data.
Other privacy laws follow similar ideas. California’s CCPA, as amended by the CPRA, gives residents rights to know, delete and correct their data and to opt out of its sale or sharing. India’s Digital Personal Data Protection Act, 2023 also reaches companies outside India that offer goods or services to people in India. Building the features below once usually covers much of what these laws ask for, though each has its own scope and details.
This guide is general information, not legal advice. It explains the main rules from the official texts listed below. For decisions about your own product, read your regulator’s guidance or ask a privacy lawyer.
A lawful basis for every use of data
Article 6 lists six lawful bases. Each purpose you use personal data for needs one of them, chosen before you start, and written down. Consent is not the default; for most of what an app does, another basis fits better.
| Lawful basis | What it means | App example |
|---|---|---|
| Contract | Needed to provide the service the person signed up for | Storing an account email and the projects a user creates |
| Legal obligation | Needed to meet a law you are subject to | Keeping sales records for tax rules |
| Legitimate interests | Needed for your interests, balanced against the person’s rights | Fraud checks and basic product security |
| Consent | The person freely agreed, for a specific purpose | Marketing emails, optional analytics, personalized ads |
| Vital interests | Needed to protect someone’s life | Rare in apps; emergency features |
| Public task | Needed for a task in the public interest or official authority | Mostly public bodies |
Where you do rely on consent, Article 7 says people must be able to withdraw it at any time and that withdrawing must be as easy as giving it. In the product, that means unticked boxes, one purpose per choice, a record of what each person agreed to and when, and a settings screen where they can change their mind.
Health, biometric and other special categories of data under Article 9 need an extra condition on top of a lawful basis. If your app touches them, get legal advice before you build.
Privacy by design: what Article 25 means for engineering
Article 5 says personal data must be adequate, relevant and limited to what is necessary. Article 25 turns that into a design duty: build measures such as pseudonymization and data minimization into the product from the start, and make sure that by default only the data needed for each purpose is processed. That covers how much you collect, how far you process it, how long you keep it and who can see it.
- A data map: every table, field, file store, log and third-party service that holds personal data, with the purpose and lawful basis for each.
- Fewer fields. If the sign-up form asks for a date of birth or a phone number, write down why. If there is no reason, drop the field.
- Retention rules in code: scheduled jobs that delete or anonymize inactive accounts, old logs and expired records, not a policy nobody runs.
- Private by default: profiles, shared links and uploads start visible to the owner only.
- Access control in the admin panel, so staff see only the data their job needs. What is RBAC? explains roles and permissions.
- Encryption in transit and at rest, and pseudonymous IDs in analytics and logs instead of names and emails. Article 32 lists pseudonymization and encryption among the security measures to consider.
- Logs and error reports that leave out passwords, tokens and personal fields, and test data that is not a copy of production.
If you add AI features that process personal data, the same rules apply to the prompts, logs and files you send to a model provider, and the EU AI Act may add duties of its own; see Does the EU AI Act apply to my AI app?.
User rights your product must support
People can ask what you hold about them and ask you to fix, export or delete it. Under Article 12 you must answer without undue delay and within one month, which can be extended by two further months for complex or numerous requests if you tell the person within the first month. Building the tools before launch is what makes those limits easy to meet.
| Right | Article | What to build |
|---|---|---|
| Access | 15 | A way to give a person a copy of their data and an explanation of how it is used. A self-serve download in settings handles most requests. |
| Correction | 16 | Editable profile fields, and an admin tool for data the person cannot edit themselves. |
| Deletion | 17 | A delete-account flow that removes the data from your database, file storage, search index and the vendors that hold it, with a clear rule for backups and for records you must keep by law. |
| Portability | 20 | An export of the data the person provided, in a structured, commonly used, machine-readable format, such as JSON or CSV. It applies where you rely on consent or a contract and process by automated means. |
| Objection | 21 | An unsubscribe link and a marketing opt-out that take effect at once. For direct marketing, the objection is absolute. |
| Restriction | 18 | A flag that pauses processing of an account while a dispute is settled. |
Add an internal view for handling requests: who asked, how you checked their identity, what you did and when. The EDPB’s guide for small businesses suggests keeping a record of requests and your reasons, and you may ask for more information when you have reasonable doubts about who is asking.
Processors, DPAs and international transfers
Every vendor that handles personal data for you is a processor, and Article 28 requires a contract with each one, usually called a data processing agreement or DPA. It must say what the vendor may do with the data, require confidentiality and security, and cover deletion or return at the end. Most large vendors publish a standard DPA; keep a signed or accepted copy, and a list of your processors to show in your privacy notice.
Sending personal data outside the EU, or letting someone outside the EU access it, is a transfer, and it needs a legal route. The simplest is an adequacy decision: the Commission’s list includes the UK, Japan, Brazil, Switzerland, Canada for commercial organizations, and US companies that take part in the EU-US Data Privacy Framework. For other countries, contracts such as standard contractual clauses are the usual route. The UK has its own adequacy regulations and its own transfer agreement.
- Choose a hosting region on purpose and write it down.
- For each vendor, note where the data goes and which transfer route covers it.
- Remember people as well as servers: a support team or a development team abroad with access to production data is also a transfer.
Breaches, records and the paperwork behind the product
Under Article 33, a controller must report a personal data breach to its supervisory authority without undue delay and, where feasible, within 72 hours of becoming aware of it, unless the breach is unlikely to put people at risk. Under Article 34, if the risk is high, the people affected must be told as well. You can only meet that if you can see a breach: audit logs, alerts on unusual access, and a short written plan of who does what. The web app security checklist covers the controls that make breaches less likely and easier to spot.
Article 30 asks for a record of processing activities: what you process, why, about whom, who receives it, where it goes and how long you keep it. Companies with fewer than 250 people are exempt only if their processing is occasional, unlikely to put people at risk and free of special categories of data; most apps process user data all the time, so plan to keep one. The data map from the design stage is most of it.
- Map the personal data the app will collect, and the lawful basis for each purpose, before you design the screens.
- Cut the fields you cannot justify, and set retention rules for the ones you keep.
- Build consent, privacy settings, export, correction and account deletion into the first release.
- Give the admin panel roles, audit logs and a view for handling requests.
- Sign a DPA with every processor and record where each one stores data.
- Write the privacy notice from the data map, so it matches what the code does.
- Write a breach plan and keep the record of processing up to date as features change.
When BYD Tech builds a web app, the code lives in the client’s GitHub from day one, the founders are on the calls, and AI-assisted work is reviewed by an engineer. Web app development describes how a project starts.
Sources
Checked when this guide was written.
- EUR-Lex: Regulation (EU) 2016/679, the General Data Protection Regulation
- EUR-Lex: Directive 2002/58/EC, the ePrivacy Directive (consolidated, Article 5(3))
- EDPB: Data protection guide for small business, respecting individuals’ rights
- European Commission: Adequacy decisions
- ICO: Data protection and the EU
- ICO: Guidance on the use of storage and access technologies
- State of California, Department of Justice: California Consumer Privacy Act
- MeitY, Government of India: The Digital Personal Data Protection Act, 2023