A business website handles contact details, sometimes payments, and always your reputation. Yet many sites are compromised through simple gaps: outdated plugins, reused passwords, missing backups. Security does not have to start with complex tools. It starts with a set of foundations that every site should have.
No checklist makes a website invulnerable. These measures reduce risk and limit the damage when something does go wrong.
Know the common risks
The OWASP Top 10, a widely used awareness document for web application security, was updated in its 2025 edition. Its top categories include broken access control, security misconfiguration and software supply chain failures. For most business websites, those translate into practical questions: who can access what, are settings safe by default, and are the components you depend on maintained and up to date?
1. HTTPS everywhere, enforced
- Serve every page over HTTPS with a valid certificate, and redirect HTTP to HTTPS.
- Add HSTS (HTTP Strict Transport Security). It tells browsers to use only HTTPS for your domain in future, which prevents downgrade attacks. MDN shows a typical value:
Strict-Transport-Security: max-age=31536000; includeSubDomains(MDN). - Set certificates to renew automatically and monitor expiry.
2. Updates and dependencies
Outdated software is one of the most common entry points.
- Keep the CMS core, themes, plugins, frameworks and server software updated.
- Remove plugins, themes and packages you do not use; unused code still carries risk.
- Prefer well-maintained components with active development and clear security processes.
- For custom sites, use automated dependency alerts and review them regularly.
3. Access control
- Give every person their own account; never share logins.
- Apply least privilege: editors do not need administrator rights.
- Require multi-factor authentication for administrators, hosting, domain registrar and DNS accounts.
- Remove access promptly when people leave, including agencies and freelancers.
- Protect admin areas: limit login attempts, and consider restricting access by network where practical.
The domain registrar and DNS accounts deserve special attention. Whoever controls them controls your website and email.
4. Security headers
HTTP response headers can tell browsers to apply extra protections:
- Content-Security-Policy limits where scripts, styles and other resources can load from, reducing the impact of injected content.
- X-Content-Type-Options: nosniff prevents browsers from guessing file types.
- Referrer-Policy controls how much URL information is shared with other sites.
- Frame protection (via
frame-ancestorsin CSP orX-Frame-Options) prevents your pages from being embedded by other sites for clickjacking.
Introduce Content-Security-Policy carefully, ideally in report-only mode first, because a strict policy can break legitimate scripts.
5. Forms and user input
Forms are a common target for spam and abuse.
- Validate input on the server, not only in the browser.
- Add spam protection: honeypot fields, rate limiting and, where needed, a privacy-friendly challenge.
- Never display user input without escaping it.
- Collect only the data you need, and state how it is used in your privacy policy.
- Make sure submissions are delivered reliably and that you are alerted if delivery fails.
6. Secrets and configuration
- Keep API keys, passwords and tokens out of code repositories and public files.
- Store them in your host's secret management or environment configuration.
- Rotate them when people leave or if exposure is suspected.
- Turn off debug modes and detailed error messages in production.
7. Backups you have tested
- Back up files and databases automatically, on a schedule that matches how often content changes.
- Store backups separately from the website's hosting account.
- Test restoring regularly. A backup that has never been restored is an assumption, not a plan.
8. Monitoring and response
- Monitor uptime and get alerts when the site is down.
- Watch for unexpected changes: new admin users, modified files, unusual traffic.
- Keep logs long enough to investigate incidents.
- Write a short incident plan: who to contact, how to take the site offline if needed, how to restore from backup and how to notify affected people if personal data is involved.
A quarterly security routine
- Review user accounts and remove unnecessary access
- Check that updates have been applied and remove unused components
- Test a backup restore
- Review security headers and certificate status
- Check forms for spam and delivery problems
Security foundations are part of every website we build and every WordPress project we take on. When planning a new site, include them from the start; see how to plan a business website.
If a site has already been compromised, the spam injection recovery case study shows the clean-up and search recovery. Our website maintenance and support service keeps updates, backups and monitoring running after launch.





