← All cybersecurity posts

Website Security Checklist: 30 Checks for 2026

Whether you run a marketing site, a web shop or a SaaS app, these checks cover the issues attackers exploit most often. Work through them once, then automate what you can.

HTTPS and transport

  1. HTTPS on every page and subdomain, with HTTP redirecting to HTTPS.
  2. TLS 1.2 and 1.3 only, with modern ciphers.
  3. Certificates renewing automatically, with expiry monitoring.
  4. HSTS enabled.

Security headers

  1. Content Security Policy, starting in report-only mode.
  2. X-Content-Type-Options: nosniff.
  3. Framing protection with X-Frame-Options or frame-ancestors.
  4. Referrer-Policy: strict-origin-when-cross-origin.

Authentication

  1. MFA available for users and required for admins.
  2. Rate limiting on login, signup and password reset.
  3. Uniform error messages that do not reveal whether accounts exist.
  4. Password reset tokens that are random, short-lived and single-use.
  5. Secure session cookies with HttpOnly, Secure and SameSite.

Access control

  1. Every server endpoint checks permissions, not just the UI.
  2. Users cannot access other users' data by changing IDs.
  3. Admin areas restricted by network or SSO, not exposed openly.

Input and output

  1. Parameterised database queries everywhere.
  2. User content escaped or sanitised before rendering.
  3. Forms protected against CSRF.
  4. Server-side validation on every input.

Files and exposure

  1. No .env, .git, backup or debug files accessible publicly.
  2. Directory listing disabled.
  3. Uploads stored outside the web root, validated and served safely.

Software and dependencies

  1. CMS, plugins, themes and frameworks up to date.
  2. Unused plugins and software removed.
  3. Dependency vulnerability alerts enabled.

DNS and email

  1. No dangling DNS records pointing to deleted services.
  2. SPF, DKIM and DMARC configured.

Monitoring and recovery

  1. Logs for logins, admin actions and errors, with alerts on anomalies.
  2. Backups taken automatically and restores tested.

Prioritising

If you can only do five things today:

PriorityCheck
1Update CMS, plugins and frameworks
2MFA on all admin accounts
3Confirm no .env or .git exposure
4Check access control with two accounts
5Verify backups restore

Automate the checklist

Many of these checks can be automated and run continuously, across every subdomain, not just your homepage. SecurityInfinity tests headers, TLS, exposed files, outdated software, authentication weaknesses and access control, and gives a fix for each finding. Start free.

Frequently asked questions

How often should I check website security?

Continuously for automated checks, and after any significant change, such as a redesign, new plugin or new feature.

Do small websites get attacked?

Yes. Most attacks are automated and opportunistic, scanning the entire internet for known weaknesses regardless of company size.

Is a website firewall enough?

A WAF adds protection but does not fix vulnerable software or broken access control. Use it alongside this checklist.

Find what attackers can see, before they do.

AI pentesting agents test your web app, API and cloud, and every finding comes with evidence and a fix. First report in about 10 minutes.

Stay ahead of attackers.

New vulnerabilities, breach write-ups and practical fixes. A few emails a month.