Let us start with something honest: no software is perfectly secure, and anyone who promises you otherwise is overselling. New weaknesses are found in widely used tools all the time, people make mistakes, and determined attackers are inventive.
What a careful developer can do is reduce risk in sensible, layered ways, and keep reducing it as things change. This post explains the security basics we build into web apps, why each one matters, and what you can do on your side. It does not guarantee anything. It describes how we work.
It is part of our series that starts with web app architecture in plain English.


The standard we work to
UK data protection law includes a security principle: personal data must be processed securely by means of appropriate technical and organisational measures. The Information Commissioner's Office explains that the measures should be appropriate to your circumstances and the risk, and that encryption is among the measures to consider where appropriate (ICO, a guide to data security).
"Appropriate to the risk" is the key phrase. A brochure website and a system holding customers' health information need different levels of protection. We match the measures to what your software holds and does.
For the technical side, we pay attention to the OWASP Top Ten, a widely used awareness document that sets out a broad consensus about the most critical security risks to web applications (OWASP, Top Ten). It is a checklist of common mistakes, and avoiding common mistakes goes a long way.
Layers, not a single lock
Good security is layered. If one measure fails, another should still be in the way. The basics below work together; none is enough on its own.
Encrypted connections
Every web app we build is served over an encrypted connection, the padlock you see in the browser. That means information travelling between someone's device and the server, such as passwords and personal details, cannot simply be read along the way. We set up the certificates that make this work and watch their expiry dates, as described in watching the things that expire.
Checks on the server, every time
In a web app, anything that runs in the browser can be seen and changed by the person using it. So every important check happens on the server: who someone is, what they are allowed to do, and whether the information they have sent makes sense.
That includes checking that someone can see a record before sending it, every time it is requested. In a system with several clients, this is how we make sure each client sees only their own information, as explained in accounts, roles and permissions.
Treating input as untrusted
Information that comes from outside, whether typed into a form, sent by another system or uploaded as a file, is treated as untrusted until it has been checked. We check that it is the right type and size, handle it in ways that stop it being interpreted as instructions, and are careful about what we display back. Many of the common weaknesses on the OWASP list come down to trusting input that should not have been trusted.
Protecting sign-in
Sign-in is where many attacks start, so it gets particular attention.
Passwords are never stored as written. We store them in a scrambled form that cannot be turned back into the original, so that even someone who obtained the database would not have a list of passwords.
Repeated guessing is slowed down. We limit repeated failed sign-in attempts so that passwords cannot simply be guessed by trying again and again.
Two-step login is available. A second step, usually a code from an app on your phone, adds a strong extra layer. The National Cyber Security Centre recommends turning on two-step verification for important accounts because it helps keep criminals out even if they know your password (NCSC, turn on two-step verification). In our own client portal, two-step login is available to clients and we use it for our own admin access. We recommend making it required for anyone with access to sensitive information.
Sessions end. Being signed in does not last for ever. We set sensible session lengths and make it easy to sign out.
Invitations expire. Where accounts are created by invitation, the link works once and expires after a while, so an old email cannot be used to create an account later.
Least privilege
Each person and each part of the system gets the access it needs and no more. A member of staff who processes orders does not need to change system settings. A reporting tool does not need to delete records.
We apply this to our own tools too. The AI assistants we use for routine work each have their own narrowly limited access, scoped to their job, and none can see secrets such as passwords.
Keeping secrets secret
Every web app has secrets: the keys that let it talk to a payment provider, the password for its database, the settings for sending email. We keep these out of the code itself and out of any place the public can reach, stored on the server separately from the web pages. They are never sent to a browser or shared by email.
For the times we need to hold access details for clients' systems, such as a registrar login, we are building an encrypted vault into our own admin system. It is designed so that each item is encrypted individually, the key is kept apart from the data, revealing a secret requires signing in again, and every view or copy is recorded in an access log built to show if it has been tampered with. Viewing a secret will leave a trace, including when we do it. Our post on sharing logins and access safely explains how you can give us access without sending passwords at all.


Keeping a record
We record important actions: sign-ins, failed attempts, changes to permissions, approvals and other events that matter for your system. A good log helps spot unusual activity and helps answer questions after the event. We are careful about what goes into logs: secrets never do, and personal information only where it is needed.
Spam and abuse protection
Public forms attract automated abuse. We use measures such as hidden fields that people never see but automated tools often fill in, checks on how quickly a form was completed, and limits on how often requests can be made. Suspected spam is flagged and held rather than silently discarded, so that genuine messages caught by mistake can still be found.
Updates
A large share of security work is simply keeping things up to date. The language, framework, libraries and server software behind a web app all receive security fixes over time. Applying them, in a planned and tested way, is valuable work for any developer after launch.
That is a big reason we favour well-established tools with clear support timelines, and why ongoing care matters. Our post on why websites and apps need ongoing care explains more.
Backups
Security is not only about keeping people out. It is also about being able to recover if something goes wrong, whether that is an attack, a mistake or a hardware failure. Regular, separate, tested backups are part of the basics. The NCSC's guide for small organisations lists backing up your data among its key steps (NCSC, small organisations guide). Our post on backups and recovery covers how we approach it.


Testing the important parts
We test the parts where a mistake would matter a great deal: that one client cannot see another's data, that people without permission cannot perform restricted actions, that sign-in protections work. These tests run as part of building and changing the software, so that a later change does not quietly undo an earlier protection.
What we cannot do
It is worth being clear about the limits.
We cannot promise that software will never be attacked or never have a weakness. We cannot control the security of third-party services your system depends on, though we choose them carefully. And we cannot protect against everything that happens outside the software, such as a password written on a note or a convincing scam email.
What we can do is build carefully, keep things up to date, watch for problems, and tell you plainly if something needs attention.
What you can do
Security is shared. A few habits on your side make a real difference:
- Turn on two-step login wherever it is offered, starting with email and anything financial.
- Use a password manager so that every account has its own strong password.
- Give each person their own account, with only the access they need.
- Remove access promptly when someone leaves.
- Be wary of unexpected requests, especially ones asking for passwords, payments or urgent action.
- Never send passwords by email or chat, including to us.
- Keep your own devices updated.
The NCSC's small organisations guide is a clear, practical starting point if you want to go further.
If something goes wrong
If you ever suspect a problem, such as an account behaving oddly or a message that looks like a breach, tell us straight away. We would much rather look into a false alarm than miss a real one. If personal data is involved, there may be legal steps to take within a set time, and our help-centre guide on data breaches explains the basics.
In short
We build web apps with layered protection: encrypted connections, server-side checks, untrusted input handled carefully, protected sign-in with two-step login, least privilege, secrets kept apart and encrypted, sensible logging, spam protection, planned updates and tested backups. None of it is a guarantee, and we will never pretend otherwise. It is a careful, honest way of reducing risk. If you would like to talk about what your system needs, get in touch.
