Care & growth ·

Website security checklist for small businesses

A practical website security checklist for any platform: accounts and two-factor logins, updates, HTTPS, forms, backups, monitoring, and what to do if you are hacked.

By Kareem Mohamed, Web Developer at Digital House

Website security checklist for small businesses

A website security checklist does not need to be long to work. Most small-business sites I have seen compromised were not targeted by anyone clever; they were found by automated scripts hunting for an old plugin, a reused password or a forgotten admin account. This checklist covers the habits that stop those attacks on WordPress, Shopify or a custom site, in the order I would tackle them.

Accounts and passwords: where most break-ins start

Start with logins, because a stolen password walks straight past every other defence. The accounts that matter are not only the website admin: they include hosting, the domain registrar, DNS, email and any service connected to the site.

  • A unique password for every account, kept in a password manager rather than a spreadsheet.
  • Two-factor authentication (a code from an app or a passkey, as well as the password) on hosting, registrar, email and website admin.
  • One login per person. No shared “admin” account whose password half the company knows.
  • The lowest role that does the job: an editor who writes posts does not need administrator rights.
  • Former staff, freelancers and agencies removed the week they leave, not when someone remembers.
  • Recovery emails on a company address, never a personal inbox that leaves with an employee.

The registrar account deserves special care. Whoever controls the domain controls your email and your website, so lock it down first.

Software: updates, plugins and the things you forgot

Out-of-date software is the second big entry point. Platforms such as WordPress publish security fixes regularly, and attackers read the same announcements you do.

  • Apply security updates to the core, theme and plugins within days, after a backup.
  • Delete unused plugins and themes; deactivated code can still be attacked on some setups.
  • Hunt down forgotten copies: old staging sites, test subdomains, a previous version left in a folder.
  • Keep PHP, or Node.js for custom sites, on versions that still receive security fixes.
  • On custom sites, check dependencies for known vulnerabilities as part of every release.
# Custom Node sites: list known vulnerabilities in production dependencies
npm audit --omit=dev
Infographic checklist for small business website security: unique passwords, two-factor logins, removing old users, updates, deleting unused plugins, HTTPS, a firewall, off-site backups and alerts.
Infographic checklist for small business website security: unique passwords, two-factor logins, removing old users, updates, deleting unused plugins, HTTPS, a firewall, off-site backups and alerts.

On Shopify, the platform looks after the servers and the core software for you, so your checklist is shorter but not empty. Staff accounts and their permissions, the apps you have installed and the access you have given to agencies and developers are still yours to manage. Review installed apps every few months and remove any you no longer use, because each one can read some of your store's data.

The server and the connection

With accounts and software in order, harden what sits between the visitor and your site.

  • HTTPS on every page, with a certificate that renews automatically. See HTTPS and SSL explained.
  • A web application firewall, from your host or a service such as Cloudflare, to filter known attack patterns.
  • Limited login attempts, so password-guessing scripts are blocked after a few tries.
  • On WordPress, the built-in theme and plugin file editor turned off, so a stolen login cannot edit code.
  • Security headers that tell browsers how to treat your pages.

Security headers are a few lines of server configuration. A sensible starting set looks like this; test it on staging first, because a strict policy can block things your site relies on.

Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
Referrer-Policy: strict-origin-when-cross-origin
Content-Security-Policy: frame-ancestors 'self'

WordPress has its own list of hardening steps beyond these; the WordPress security guide goes through them one by one.

Forms, uploads and spam

Every form is a door into your systems, so treat it like one. Validate what arrives on the server, not only in the browser. Add spam protection that does not punish real people, such as a hidden honeypot field or Cloudflare Turnstile. If you accept file uploads, allow only the types you need and store them where they cannot run as code.

Avoid asking for sensitive documents, such as passport copies, by plain email form. If you genuinely need them, collect them through a secure portal with access controls. Contact forms that people actually finish covers the friendly side of forms; for portals and apps, web app security basics covers roles, sessions and audit logs.

Backups and monitoring: assume something will go wrong

Good security still plans for failure. Keep automatic daily backups stored away from the server, and test a restore now and then; the website backup plan explains how. Add an uptime monitor, alerts for new admin users or changed files where your platform supports them, and check the Security issues report in Google Search Console, which flags hacked content and malware that Google has found.

These checks belong in a regular routine rather than an annual panic; the website maintenance guide shows how they fit alongside updates, speed and content.

What should you do if your website has been hacked?

Signs that something is wrong include unfamiliar admin users, pages you did not create appearing in Google, visitors on phones being redirected to other sites, a warning in the browser, or your host suspending the account for sending spam. Stay calm and work in order. Rushing to delete files often destroys the evidence of how the attacker got in, which means they come back.

  • Take the site offline or into maintenance mode if it is sending visitors elsewhere or serving malware.
  • Change every related password (hosting, admin, database, FTP, email) and switch on two-factor authentication.
  • Save a copy of the infected site for investigation before you change anything else.
  • Restore a clean backup from before the infection, or clean the site file by file if no clean backup exists.
  • Update everything, remove unknown admin users and look for the original weakness.
  • If Google flagged the site, request a review in Search Console once it is clean.
  • If customer data may have been exposed, take legal advice on your notification duties.
A hacked website is fixable. A hacked website without a clean backup and with the same weak password is a problem that comes back.