All articles

How to secure a business website: a UK step-by-step guide

Learn how to secure a business website in layers: HTTPS, strong logins, updates, backups, a firewall and monitoring, following NCSC and OWASP guidance.

Brass padlock fixed to a tall stack of four painted wooden blocks in blue, green, orange and magenta, in a bright empty room

To secure a business website, work in layers. Use HTTPS everywhere, protect admin logins with strong passwords and multi-factor authentication, keep all software patched, take tested offsite backups, add a web application firewall, and monitor for problems. Follow NCSC and OWASP guidance and review it regularly.

Website security is the set of layered technical and operational controls, such as HTTPS, access control, patching, backups and monitoring, that protect a business website and its customers’ data from attack. It protects your reputation too.

At a glance

  • The NCSC guidance on building and operating a secure online service covers identity and access management, platform and server security, data in transit and secure administration.
  • Let’s Encrypt provides free TLS certificates, and many hosts include free SSL.
  • The OWASP Top 10 is the standard awareness document for web application security risks, and its current version is the 2025 release.
  • Strong protocols are what the OWASP TLS guidance recommends supporting, which in practice means TLS 1.2 or 1.3.
  • The ICO has guidance on HTTPS, where to use it on your website and how to test it.
  • PS Up North has been designing and building bespoke software and websites since 2009.

How do you secure a business website?

A business website is secured in layers, not with one plugin. The layers are HTTPS, access control, updates, backups, a firewall and monitoring, and we follow guidance from the NCSC (the National Cyber Security Centre) and OWASP (the Open Worldwide Application Security Project) throughout.

Your business, your customers’ data and your reputation are all being protected. If one layer fails, the others still stand between an attacker and your site.

This guide is written for UK small and medium businesses, whether your site runs on a content management system (CMS) such as WordPress or is custom built. The steps below follow in this order:

  1. Set up HTTPS and modern TLS.
  2. Lock down admin logins and user accounts.
  3. Apply updates and patches promptly.
  4. Take automated, tested, offsite backups.
  5. Add a web application firewall and malware scanning.
  6. Monitor the site and prepare an incident plan.
  7. Review everything on a regular schedule.

Why one security plugin is not enough

A single plugin can block some attacks, but it cannot fix a weak password, an out-of-date theme, a badly configured server or a backup that has never been tested. Each layer covers gaps the others leave open.

Why does website security matter for a UK business?

A compromised website can mean lost data, downtime, scams run under your name and possible consequences under UK GDPR. The damage often lasts longer than the attack itself.

Customer data and the ICO

If your site collects names, email addresses, orders or enquiries, you are handling personal data. UK GDPR expects you to keep it secure with appropriate measures, and the ICO (the Information Commissioner’s Office) publishes guidance on what that looks like. This guide supports your compliance work but is not legal advice.

What an attack looks like in practice

Typical outcomes include malware that infects visitors, fake pages that harvest payment details, defaced home pages and downtime that stops sales. Customers and search engines both notice, and trust is slow to rebuild.

Why small firms get targeted

Small businesses are often targeted because their defences tend to be weaker than those of large firms, and automated tools scan for weak sites constantly. Size does not protect you. If you want statistics on attack levels, check the latest NCSC or government reports before quoting any figure, as numbers change each year.

How do you set up HTTPS and SSL/TLS correctly?

Install a valid certificate, redirect all HTTP traffic to HTTPS and allow only TLS 1.2 or 1.3. Most hosts include certificates free, and Let’s Encrypt provides them at no cost too.

TLS (Transport Layer Security) is the encryption that protects data moving between a visitor’s browser and your server. SSL is the older name, still widely used. Supporting only strong protocols is what the OWASP Transport Layer Security Cheat Sheet recommends, which in practice means TLS 1.2 or 1.3.

Redirect HTTP to HTTPS and fix mixed content

Set a permanent redirect so every http:// address lands on its https:// version. Then look for mixed content, which is when a secure page still loads images, scripts or fonts over plain HTTP. Browsers may warn visitors or block those items.

Enable HSTS

HSTS (HTTP Strict Transport Security) is a header that tells browsers to use HTTPS only for your domain. Switch it on once you are confident HTTPS works across the whole site, because a mistake can lock visitors out.

Test the setup

The ICO has guidance on encryption and data transfer, including where to use HTTPS on your website and how to test it. Check every page that carries a form, login or payment step.

Automate renewal

Certificate lifetimes are getting shorter, so manual renewal is a risk. Use automatic renewal through your host or a tool that works with Let’s Encrypt, and set an alert in case it fails.

How do you protect admin logins and user accounts?

Use a unique strong password for every account, switch on multi-factor authentication (MFA) for every admin user, give people only the access they need and remove old users. Stolen or guessed logins are one of the easiest ways into a site.

Person in a green jumper turns a key in a large orange wooden lock model on a brick wall, with a turquoise latch beside it
A key in one lock and a second latch alongside show how extra layers help protect admin logins and user accounts.

Passwords and a password manager

Long passphrases beat short complicated ones. A password manager lets each person use a different password everywhere without having to remember them.

Where to turn on MFA

MFA asks for a second proof of identity, such as a code from an app, on top of the password. Enable it on:

  • your CMS admin area
  • your hosting account
  • your domain registrar
  • the email accounts used to reset passwords

Limit login attempts and hide default admin URLs

Cap failed login attempts and lock out repeat offenders. Moving the default admin address, such as /wp-admin on WordPress, cuts down automated noise, though it is no substitute for MFA.

Review access and separate accounts

Review who has access every quarter. Give each staff member and each agency their own named admin account rather than a shared login, so you can see who did what and switch off one person without affecting others. Use least-privilege roles: an editor does not need administrator rights.

How often should you update and patch your website?

Apply security updates promptly, ideally within days for critical fixes. That covers your CMS, plugins, themes, code libraries and server software.

Remove what you do not use

Delete unused plugins and themes rather than just deactivating them. Every extra piece of code is something that can contain a flaw.

Automatic updates and staging

Turn on automatic minor updates where they are safe, as these are usually security fixes. For major updates, test on a staging site first. A staging site is a private copy of your website where you can check that nothing breaks before changing the live version.

Choose maintained software

Pick plugins and platforms that are actively supported and updated. If a plugin has not been touched for years, look for an alternative.

Custom-built sites need updates too

A bespoke site depends on frameworks and packages, known as dependencies, and these need regular updates just like a CMS does. Someone should own that job and check for known vulnerabilities on a schedule.

How do you back up a business website properly?

Take automated backups of both files and database, store them offsite and test a restore. An untested backup is not a plan.

Open yellow metal storage box holding turquoise and magenta folders and an external hard drive, as a symbol of keeping
Keeping a separate copy of your website backups somewhere safe means a failure at your host does not take everything with it.

How often to back up

Match frequency to how often things change. A brochure site that is edited monthly may need weekly backups, while a shop taking orders needs daily or even more frequent database backups.

Keep copies separate

Store at least one copy away from your hosting account. If an attacker or a hosting failure takes out the site, backups held in the same place can go with it.

Retention and restore tests

Keep several generations of backups, because some problems go unnoticed for days or weeks. Practise a full restore on a schedule, for example twice a year, and note how long it takes.

Document the process

Write down who performs a restore, where the backups live and what steps to follow. In an emergency, nobody wants to work that out from scratch.

Do you need a web application firewall and malware scanning?

A web application firewall (WAF) filters malicious traffic before it reaches your site, and malware scanning detects compromise early. Both add to patching and do not replace it.

Types of WAF

  • CDN-based: sits in front of your site at the network edge, often alongside a content delivery network.
  • Plugin-based: runs inside your CMS, which is simple to set up but works after traffic reaches your server.
  • Managed services: a provider configures and monitors rules for you.

What a WAF helps with

A good WAF helps block common risks listed in the OWASP Top 10. Examples are injection (where an attacker sneaks commands into a form field) and broken access control (where users reach things they should not). OWASP’s current version is the 2025 release.

Headers and input validation

For custom code, add security headers such as Content-Security-Policy, and validate and sanitise everything users submit. A firewall is a safety net, and the code itself should be safe too.

Rate limiting and bot protection

Rate limiting caps how many requests one visitor can make in a given time, and bot protection filters automated traffic. Together they blunt password guessing, scraping and some denial-of-service attempts.

How do you monitor your website and respond to an attack?

Log activity, set uptime and change alerts, and keep a simple written incident plan so you can act quickly. Spotting a problem in minutes rather than weeks limits the harm.

Free scanning with NCSC Web Check

NCSC Web Check is a free service for UK organisations that scans public websites for common issues. It is a good starting point alongside your own checks.

Logging and alerts

Keep logs of logins, failed attempts and file changes, and set alerts for unusual events such as a new admin user or altered core files. Add uptime monitoring so you hear about an outage before customers do.

First steps if you are hacked

  1. Isolate the site, for example by putting it into maintenance mode or taking it offline.
  2. Change all credentials, including hosting, CMS, database and email.
  3. Restore a clean backup from before the compromise.
  4. Find the cause, such as an outdated plugin or stolen password, and fix it before going live again.

Reporting to the ICO

This is general information only, so check the ICO’s current guidance and ask a qualified professional if you are unsure whether a breach is reportable.

Website security checklist: what to check and how often

The table below sets each control against what to do, how often to do it and who should be responsible.

Control What to do How often Owner
HTTPS Check certificate renewal, redirects, mixed content and TLS 1.2 or 1.3 only Monthly, and after any hosting change Developer or hosting provider
MFA and passwords Confirm MFA on CMS, hosting, registrar and email; use a password manager Every quarter Business owner or office manager
Access review Remove old users, check roles, separate agency accounts Every quarter Business owner
Updates Apply CMS, plugin, theme and library updates; remove unused items Weekly, with critical fixes within days Site manager or developer
Backups Check automated offsite backups and run a test restore Check monthly; restore test twice a year Hosting provider or developer
WAF and scanning Review firewall rules and malware scan results Monthly Managed provider or developer
Monitoring Check uptime alerts, logs and NCSC Web Check results Weekly glance, full review monthly Site manager

For a recognised baseline across your wider business, look at the NCSC’s Cyber Essentials scheme, which sets out basic technical controls that protect against common attacks.

When should you ask a developer to secure your website?

Get expert help if you take payments, hold customer accounts, run bespoke software or have been hacked before. These situations carry more risk and often need more than a checklist.

What a developer can add

A developer can review custom code and integrations for flaws such as those in the OWASP Top 10, and harden your hosting and servers so that settings, permissions and services are locked down properly.

If you would like a second pair of eyes on your site, get in touch with PS Up North to talk through a security review. Customers choose us for outstanding service and expertise, and we are happy to start with a simple conversation about what you have today.

Frequently asked questions

Is HTTPS enough to make my website secure?

No, HTTPS is only one layer of website security. It encrypts data between visitor and server, but it does not stop weak passwords, outdated plugins or attacks on your code. Combine it with MFA, patching, backups, a firewall and monitoring.

How much does it cost to secure a small business website?

The cost depends on your platform, hosting and how much you take on yourself. Many basics, such as free TLS certificates, MFA and a password manager, cost little or nothing. Paid extras like managed firewalls or a developer review vary. Ask for a quote based on your site.

What is Cyber Essentials and does my website need it?

Cyber Essentials is an NCSC-backed UK scheme that sets out basic technical controls to protect against common cyber attacks. Your website does not have to hold it, but it is a recognised baseline, and some customers or contracts may ask for it.

How do I know if my website has been hacked?

Warning signs include unexpected redirects, strange pages or content, new admin users, browser or search engine security warnings, sudden slowness and files you did not change. Monitoring, logs and a free scan with NCSC Web Check help you spot problems sooner.

Do I need a security plugin on WordPress?

A security plugin can help with firewall rules, malware scanning and login limits on WordPress, but it is not essential on its own and not enough alone. Updates, MFA, backups and good hosting matter just as much.

What should I do if my business website is hacked?

Isolate the site, change all credentials, restore a clean backup and find the cause before relaunching.

Does a website host look after security for me?

A website host looks after part of security, usually the server and network. It doesn’t cover everything. Your own responsibilities typically include passwords, MFA, plugin and theme updates and content. Check your hosting agreement to see exactly what is covered, including backups.

Need a website that does more?

Tell us what your site needs to do. We'll design, build and look after it.

Start a project