Website Security Checklist: 20 Steps to Protect Your Site

Most websites aren’t hacked by skilled attackers targeting you personally. They’re hacked by automated bots looking for easy mistakes: an old plugin, a weak password, a forgotten test page. This checklist closes those gaps. Work through it once, then review it every quarter.

Access and accounts

  1. Use unique, strong passwords for hosting, CMS, database, domain registrar and email — stored in a password manager.
  2. Turn on multi-factor authentication (MFA) everywhere it’s offered, especially for admin accounts and your domain registrar.
  3. Remove old accounts for former staff, agencies and freelancers.
  4. Give least privilege: editors don’t need administrator rights.
  5. Limit login attempts and consider changing or protecting the default admin URL.

Software and updates

  1. Update your CMS core, plugins and themes promptly — most hacks exploit vulnerabilities that already have fixes.
  2. Delete unused plugins, themes and test sites. Inactive code can still be exploited.
  3. Only install software from trusted sources — never “nulled” or pirated themes and plugins.
  4. Keep server software supported: PHP, Node.js, databases and the operating system.

HTTPS and security headers

  1. Use HTTPS on every page and redirect all HTTP traffic to HTTPS.
  2. Enable HSTS (Strict-Transport-Security) so browsers always use HTTPS.
  3. Add a Content-Security-Policy to limit where scripts can load from — a strong defence against cross-site scripting.
  4. Set the other standard headers: X-Content-Type-Options, X-Frame-Options or frame-ancestors, Referrer-Policy and Permissions-Policy.

Protection and data

  1. Put a web application firewall (WAF) in front of your site — such as Cloudflare — to block malicious traffic and bots.
  2. Validate and sanitise every form and protect them with CAPTCHA or rate limits to stop spam and injection.
  3. Collect only the personal data you need, and protect it — a requirement under laws like India’s DPDP Act and the GDPR.
  4. Back up automatically to a separate location, and test restoring a backup at least once a quarter.

Monitoring and testing

  1. Set up Google Search Console to get alerts about security issues and hacked content.
  2. Monitor uptime and file changes so you notice problems quickly.
  3. Get a security test — a vulnerability scan or penetration test — at least yearly, and after major changes, especially for custom-built features.

Bonus: publish a security contact

Add a /.well-known/security.txt file with an email address for reporting vulnerabilities. It tells security researchers how to contact you responsibly instead of posting issues publicly.

Summary

Website security is mostly about consistent basics: updates, strong authentication, HTTPS with security headers, a firewall, backups and monitoring. Add regular testing for anything custom-built, and most attacks will move on to an easier target.

Frequently asked questions

What is the most important website security step?

Keeping all software up to date — the CMS, plugins, themes, server software and libraries — combined with strong passwords and multi-factor authentication. Most website hacks exploit known, already-fixed vulnerabilities or weak passwords.

How can I check my website's security headers?

You can inspect response headers in your browser's developer tools (Network tab) or use a free online security headers scanner, which grades headers such as Content-Security-Policy and Strict-Transport-Security.

How often should I back up my website?

At least daily for sites that change often, such as shops or blogs, and before every update. Keep backups off the web server and test restoring them regularly.

Have a project in mind?

Tell us what you want to build and we’ll get back to you with next steps.