Why security-first design matters

Building security into every layer of a system from the start, and what it means for schools and small organisations.

IT Security  |   |  By the ERP team

When an organisation commissions a system, the conversation usually starts with features: what screens it needs, which reports it produces, who can log in. Security tends to arrive later, often just before launch, as a checklist. By then the most important security decisions have already been made, usually by accident.

Security-first design means treating protection of data as a requirement from the first meeting, alongside every other requirement. It is not more expensive when done this way. Retrofitting it later is.

What it looks like in practice

For the systems we build for schools, churches and sports bodies, security-first design comes down to a handful of decisions made early:

  • Roles before screens. We decide who should see what before designing any page. A class teacher does not need fee balances; a bursar does not need medical notes.
  • Personal data kept to what is needed. Every field we collect is a field we must protect. If a piece of information is not used, we do not store it.
  • Safe defaults in code. Queries are parameterised to prevent SQL injection, output is escaped to prevent cross-site scripting, and forms carry tokens that prevent cross-site request forgery.
  • Passwords handled properly. Passwords are stored only as strong one-way hashes, never in a form anyone can read back.
  • Every change recorded. An audit trail shows who changed a record and when, which protects staff as much as it protects data.
  • Backups that are tested. A backup that has never been restored is a hope, not a plan.

Why it matters for smaller organisations

Small organisations sometimes assume they are not a target. In reality most attacks are automated: scripts scan the internet for any site with a known weakness, regardless of who owns it. A school website with an outdated plugin is found just as quickly as a bank's.

There is also a legal dimension. Uganda's Data Protection and Privacy Act sets out obligations for organisations that collect and process personal data. Schools, churches and employers hold names, contacts, financial records and sometimes health information about people who trusted them with it.

Good security is mostly invisible. Users notice it only when it is missing.

Questions to ask any supplier

  • How are passwords stored?
  • Who will be able to see each type of record?
  • Where is the data hosted, and how often is it backed up?
  • Has a backup ever been restored as a test?
  • What happens when a staff member leaves?

If the answers are vague, security has not yet been designed in. We are always happy to talk through these questions, whether or not you end up working with us.