Security and privacy by design when building a digital product
Security added at the end is costly and incomplete. Privacy added after launch is worse, because by then you have already collected data you should not have, and some customers have already seen it. The better approach is to treat speed, safety and privacy as part of what "ready" means, in the same way you treat a working checkout. This post sets out the steps for a small Irish business building a website or app, in plain English, with a worked example.
Features say what; qualities say how well
A feature list says what the product does: take a booking, send a receipt. Qualities say how well it does it: how fast, how available, how secure, how private, how accessible, how easy to support. Product teams call these non-functional requirements, and they are the ones forgotten most often because nobody can see them on a screen.
The fix is to write each quality as a number with a test. "It must be fast" cannot be tested. "The booking page loads in under 2 seconds on a mid-range phone" can. "It must be secure" cannot be tested. "An account locks after five wrong passwords, and an admin login needs a second step" can. If a quality has no number and no test, nobody can say whether the product is ready.
Privacy by design: collect less
The data protection rules ask you to build privacy in from the start, and the practical habits are simple.
- Collect only what you need. Every field on a form is a liability you must protect, explain and eventually delete.
- Say why you need it. Each item of personal data should have a written purpose.
- Keep it for a stated time. Decide the retention period before launch, and build the deletion.
- For high-risk uses, carry out a data protection impact assessment first. This is a written check of the risks to people, done before the product goes live. See DPIAs and records of processing in Ireland.
Here is a worked example. Saorla builds a booking app for her yoga studio. The first design asks for name, email, phone, date of birth and home address. She asks the question for each field: what do we do with it, and what would break without it?
- Name, email and phone: needed to confirm and change bookings. Keep.
- Date of birth: only to check that a client is an adult. A tick box saying "I am over 18" does the same job. Remove.
- Home address: never used. Remove.
She goes from 5 fields to 3, which is 2 out of 5, or 40%, less personal data to protect, and fewer things that can leak. She then writes the retention rule: booking records are deleted 24 months after the last class. The product is simpler, safer and easier to explain in a privacy notice, and nothing useful was lost. For the wider legal picture, see GDPR for small businesses in Ireland.
Cookies and tracking: ask first
In Ireland, consent is normally needed before cookies or similar tracking are set on a visitor's device, other than those strictly necessary to run the service. The Data Protection Commission's published guidance treats analytics cookies as needing consent too. Consent must be a clear, affirmative act, so pre-ticked boxes are not consent and neither is carrying on browsing. The practical design is clear information first, then a choice by category (necessary, analytics, marketing), with nothing optional switched on until the visitor chooses. Build the banner so that refusing is as easy as accepting.
If a breach happens
Where a personal data breach is likely to put people at risk, you must report it to the Data Protection Commission within 72 hours of becoming aware of it. The clock starts when you become aware, not when you finish investigating. So decide in advance who calls it. Example: if Saorla learns of a leak at 17:00 on Friday, the 72 hours end at 17:00 on Monday, weekend included. A named person, a phone number and a one-page plan prepared before launch are worth far more than a perfect plan written during the crisis. Prevention is the better route, and the checklist in a cyber security checklist for small business is a good place to begin.
Four security habits to build into every release
- Ask three questions at the design stage. Who can see what? What data is kept? What is logged, and who reads the log?
- Use least access. Each person and each part of the system gets only the access it needs. The receptionist does not need the payment settings.
- Minimise data, as above, and delete it on schedule.
- Keep software parts updated. Modern products are assembled from components other people wrote, and each can carry a weakness. Keep a list of what you use, apply fixes promptly and note the date, and ask suppliers how they will tell you about problems.
Add a way to hear about weaknesses: a mailbox that a named person reads and answers, with each report fixed and recorded. Unreported weaknesses stay unfixed.
EU product rules to plan for
Two EU laws shape digital products and are worth putting in your calendar. The Cyber Resilience Act sets security duties for products with digital elements. Its reporting duties for manufacturers, covering actively exploited vulnerabilities and severe incidents, have applied since 11 September 2026, and its main obligations apply from 11 December 2027. The Data Act asks that products which generate data are designed so that users can reach that data, which is a design decision made early, and that design duty applies to connected products placed on the EU market from 12 September 2026. Whether either applies to you depends on what you make and sell, so ask your solicitor early and plan the dates in. The wider rules on network and information security are covered in NIS2 in Ireland.
Finally, the Consumer Rights Act 2022 means digital content and services must match the contract and be as described, with remedies if they do not, so quality is a legal matter as well as a commercial one.
Make it part of "ready"
The privacy and security review is part of ready, not post-launch paperwork. If the review fails, move the date or cut the data collected. A reversed launch costs more than a late one. If a risk must be accepted, the owner signs an exception with an end date. This approach is taught in Digital Strategy, Data Analytics and Cybersecurity within the Strategic Management programme.
Questions people ask
- What does privacy by design mean in practice?
- It means building data protection in before launch: collect only the data you need, write down why, keep it for a stated time, and run a risk check first where the use is high risk.
- Do analytics cookies need consent in Ireland?
- Yes, the Data Protection Commission's guidance treats analytics cookies as needing consent, apart from strictly necessary ones. Consent must be a clear action, so pre-ticked boxes do not count.
- How long do I have to report a personal data breach?
- Where the breach is likely to put people at risk, you report it to the Data Protection Commission within 72 hours of becoming aware of it. The clock runs through weekends, so name who decides in advance.
- Does the Cyber Resilience Act apply to my small business?
- It applies to manufacturers of products with digital elements sold in the EU, with reporting duties since 11 September 2026 and the main duties from 11 December 2027. Ask your solicitor whether your product is in scope.