SecurityWebsites

How to keep a small business website secure

Ten practical steps that protect your website, your customers’ data and your reputation, most of which cost little or nothing.

Small businesses often think attackers aren’t interested in them. In fact, most attacks are automated: programs scan thousands of websites a day, looking for any that are out of date or badly set up. Being small doesn’t keep you off the list.

The good news is that most attacks can be stopped with a few habits. Here are ten steps, roughly in order of importance.

1. Keep everything up to date

Out-of-date software is the most common way into a website. That includes the content management system itself (such as WordPress or Drupal), and every plugin, module and theme you use.

Turn on automatic updates where you can, check for updates every month, and remove plugins you no longer use. An unused plugin can still be attacked.

2. Use HTTPS on every page

HTTPS encrypts what passes between your website and your visitors, including anything they type into a form. Browsers now warn people away from sites without it. Certificates are free (for example from Let’s Encrypt or Cloudflare), so there’s no reason to go without.

3. Protect admin accounts

Your admin sign-in page is the front door. Protect it with:

  • Long, unique passwords, stored in a password manager
  • Two-step sign-in, so a stolen password isn’t enough on its own
  • No shared accounts: give each person their own, so you know who did what

4. Give people only the access they need

Someone who writes news posts doesn’t need to install plugins or change settings. Give each person the lowest level of access that lets them do their job, and remove accounts when people leave or a project ends.

5. Back up, and test the backup

Backups are what let you recover from an attack, a mistake or a failed update. Keep them automatic, off the server (so an attack can’t delete them too), and tested: try restoring one now and then. A backup you can’t restore isn’t a backup.

6. Protect your forms

Contact forms, sign-up forms and search boxes are a favourite target, both for spam and for attacks. Check what people type on the server, not only in the browser, and use a spam check such as Cloudflare Turnstile or Google reCAPTCHA.

7. Add security headers

Security headers are instructions your website sends to browsers: only load scripts from places you trust, don’t let other sites show your pages in a frame, always use HTTPS. They take minutes to set up and block whole kinds of attack.

8. Put a firewall in front

A web application firewall, such as the one Cloudflare offers, sits between your website and the internet. It blocks known attacks and floods of bad traffic before they reach your server, and it makes your site faster too.

9. Watch for problems

Set up uptime monitoring, so you’re told within minutes if your site goes down or changes unexpectedly. Check your website’s admin logs from time to time for sign-ins you don’t recognise.

10. Know what you’d do if something happened

Write down, in one page:

  • Who to call (your developer or hosting company)
  • Where the backups are, and how to restore them
  • How to change all admin passwords quickly
  • Who to tell, and when

If your website collects personal data, the Nigeria Data Protection Act 2023 also expects you to protect it and to act quickly if it’s exposed. Having a plan makes that much easier.

Where to start

If you only do three things this week: update everything, turn on two-step sign-in for admins, and check that your backups restore.

If you’d like a second pair of eyes, our security reviews check your website, hosting and accounts, and give you a plain-English report with the fixes ranked by risk. Every site we build gets these protections as standard.

Share this

Tell us what you want to build.

We’ll reply within one working day with questions, ideas and the next steps.