Article · · 8 min read

Basic web security: a checklist for small businesses

Security tends to get pushed to later, until one day the site is down, showing ads nobody put there or displaying a ransom note. Most of those problems can be prevented with basic measures. Here's a 19-point checklist, in plain language, to review your site or system with your team or your vendor.

Why small businesses are targets too

The idea that "nobody's interested in hacking a small company" is the one that causes the most trouble. Most attacks aren't carried out by a person who picked your business: they're run by automated programs that scan the internet looking for the same things on thousands of sites at once. An outdated plugin, a password leaked from another service, an admin panel out in the open.

To those programs size doesn't matter; how easy it is to get in does. And what they're after is useful to anyone: customer data, an email account to send scams in your name, a server to host someone else's content or a database to encrypt and hold for ransom.

The core idea: you don't need to be a fortress. You just need not to be the easy target: most automated attacks move on when the basics are in order.

As a reference I use the OWASP Top 10, the list of the most common risks in web applications published by the OWASP foundation. The points below turn that list, and what I often see in small companies, into concrete actions.

Access and passwords

Most of the incidents I see start with access, not with a sophisticated technical flaw. A reused password, a former employee who can still log in, one account shared by the whole team.

  • Two-factor authentication (2FA) on everything important: email, hosting, domain registrar, the system's admin panel and the bank. With 2FA, a leaked password alone isn't enough to get in.
  • A password manager for the team: no reused passwords, none written on paper or sent over chat.
  • One user per person, with only the permissions they need. If everyone logs in as "admin", there's no way to know who did what or to limit the damage.
  • An offboarding procedure: the day someone leaves the company, all their access is cut. Keep a written list of where each person has an account.
  • The domain and hosting in the company's name, registered with a company email address, not the personal one of whoever set them up.

Updates and dependencies

Every site or system is built from third-party pieces: the content management system, its plugins, the libraries the code uses, the server's operating system. When a flaw is found in one of those pieces, a fix is published and, at the same time, attackers start looking for who hasn't installed it.

  • Content management system, plugins and themes up to date (WordPress and the like), with anything unused uninstalled.
  • Code dependencies reviewed and updated regularly, with tools that alert you when one has a known flaw.
  • The server patched: operating system and the software it runs.
  • Nothing in production without an owner: an old system nobody maintains, a forgotten test subdomain. If nobody takes charge of it, update it or shut it down.

Data and backups

If something goes wrong, the backup decides whether it's a bad day or a disaster. And having one isn't enough: it has to live somewhere else and it has to work.

  • Automatic daily backups, stored off the main server and with several versions. If the backup lives on the same server, an attack takes both.
  • A test restore at least a couple of times a year. A backup that's never been tested is a hope, not a backup.
  • Only the data you need: what you don't store can't leak. Sensitive data, such as ID documents or health data, encrypted.

HTTPS, headers and configuration

This is where the settings users never see come in, the ones that close doors. Several appear in the OWASP Top 10 as security misconfiguration, and almost all of them are fixed once and stay fixed.

  • HTTPS across the whole site, with automatic redirection from http and a certificate that renews itself.
  • Security headers configured: instructions the server gives the browser to prevent, for example, your site being shown inside another one or loading code from unauthorized sources.
  • Passwords and API keys out of the code: in environment variables or a secrets manager, never in the repository.
  • Errors without technical details for users, and admin panels and databases not directly exposed to the internet.
  • Forms and login with validation of what's received and a limit on attempts, to stop mass submissions and brute-force password guessing.
  • Domain email with SPF, DKIM and DMARC, three records that make it harder for someone to send email pretending to be your company.

What to do when there's an incident

It's worth deciding this before you need it, because in the moment nobody thinks clearly. A simple one-page written plan is enough:

  1. Contain: change the passwords for the affected accounts, end open sessions and, if needed, put the site in maintenance mode.
  2. Preserve the evidence: don't delete anything yet. The server logs are what will explain what happened.
  3. Understand the scope: how they got in, what they touched and whether customer data was involved.
  4. Restore from a clean backup and close the door they came through; otherwise they'll come back the same way.
  5. Notify whoever needs to know: affected customers, the hosting provider and, if personal data was involved, check with a legal advisor which obligations apply.

To find out in time, add monitoring that alerts you when the site goes down or something unexpected changes. Many companies find out about an incident when a customer writes to them.

The full checklist

All 19 points in one list, to print and go over with your team or your vendor:

  1. 2FA on email, hosting, domain, admin panel and bank.
  2. A password manager; no reused passwords, none shared over chat.
  3. One user per person, with minimal permissions.
  4. An offboarding procedure that cuts all access the same day.
  5. Domain and hosting in the company's name.
  6. Content management system, plugins and themes updated; anything unused, uninstalled.
  7. Code dependencies reviewed and updated.
  8. Server security patches up to date.
  9. No system or subdomain in production without an owner.
  10. Automatic daily backups off the server, with several versions.
  11. A test restore a couple of times a year.
  12. Only the data you need; sensitive data encrypted.
  13. HTTPS everywhere, with automatic certificate renewal.
  14. Security headers configured.
  15. Passwords and keys out of the code.
  16. Errors without technical details; panels and databases not exposed.
  17. Forms and login with validation and attempt limits.
  18. SPF, DKIM and DMARC on the domain.
  19. A written incident plan and monitoring that alerts you when something fails.

If you ticked almost everything, you're ahead of most. If there are several points you don't know how to check, that's exactly where to start.

How I review it

Someone on your team can check many of these points with this list in hand. For the ones that require looking at the code, the server or the cloud configuration, I do a review as part of a technical audit or a consulting engagement: I go through each point and hand you the findings ranked by risk, with a plan to fix them. If you then want me to handle the implementation (backups, monitoring, updates, access), that's part of the cloud architecture and DevOps service.

FAQ

What people usually ask me.

Do I need a penetration test?

A penetration test is an exercise where a specialist tries to break into your system the way an attacker would. It makes sense once the basics are in order and you handle sensitive data, or a customer or regulation requires it. Before that, work through the checklist: a pentest on an unpatched system will just find the obvious.

What is the OWASP Top 10?

It's a list of the ten most common security risks in web applications, published and updated every few years by the nonprofit OWASP foundation. It covers problems such as broken access control, security misconfiguration and outdated components. It's a good reference for reviewing a system or asking a vendor how they cover each one.

How often should security be reviewed?

Updates and backups are ongoing and should be automated. A full pass through the checklist at least once a year and after every major change: a new system, a migration or a change of vendor.

What do I do if I've been hacked?

First contain it: change passwords, end sessions and, if needed, put the site in maintenance mode. Then preserve the logs, figure out how they got in and restore from a clean backup while closing that door. If customer data was involved, check with a legal advisor which notifications are required.

Is a small site really at risk?

Yes, because most attacks are automated and don't pick by size: they look for old versions, leaked passwords and exposed panels on thousands of sites at once. A compromised company website can be used to send scams in your name or get flagged as dangerous by Google.

Doesn't my hosting provider take care of this?

Partly. Hosting usually covers the physical infrastructure and, depending on the plan, the operating system. But passwords, users, updates to your site, your application's configuration and often the backups are on your side. Read what your plan includes rather than assuming.

How much does a security review cost?

It depends on the size of the system and how many pieces are involved: a company website isn't the same as an application with customer data. After a free first call, I'll send you a proposal with scope, timeline and price.

Let's talk

Shall we talk about your case?

Tell me your idea or how your company runs. I'll reply personally within 2 business days with next steps.

Go to the contact form →