Website Security Checklist

By Kalenfy · Updated 27 June 2026 · 8 min read

Website Security Checklist

TL;DR: This checklist covers the 20 most impactful security checks for any website — from HTTPS and email authentication to exposed files and DNS hardening. Work through it in order and you will catch the issues that compromise most small-business sites. Run a free Kalenfy scan to automate the technical checks and get a downloadable report.

How to use this checklist

Each item below is marked with a priority tier:

You don't need to fix everything in one sitting. Start with Critical, then work down. Many checks can be done with free tools or your hosting panel in minutes.

HTTPS & encryption

CheckPriorityHow to verify
SSL/TLS certificate is valid and not expiring within 30 daysCriticalBrowser padlock → Certificate details
All pages redirect HTTP → HTTPS automaticallyCriticalVisit http://yourdomain.com — should redirect
No mixed content (HTTP resources on an HTTPS page)HighDevTools Console for "Mixed Content" warnings
TLS 1.0 and 1.1 are disabled (TLS 1.2+ only)HighSSL Labs server test
HSTS header present with a long max-age (≥1 year)MediumHSTS guide

Security headers

HeaderPriorityWhat it does
Content-Security-Policy (CSP)HighBlocks XSS and data injection
X-Frame-Options or CSP frame-ancestorsHighPrevents clickjacking
X-Content-Type-Options: nosniffMediumStops MIME-type sniffing
Referrer-PolicyMediumControls what URL data is shared with third parties
Permissions-PolicyMediumRestricts browser features (camera, geolocation)

Check all five in one go with the Kalenfy scanner or read the full header guide.

Email authentication (anti-spoofing)

Without these three DNS records, anyone can send email pretending to be your domain:

RecordPriorityWhat it prevents
SPF record exists and has a valid -all or ~all qualifierCriticalUnauthorised senders from your domain
DKIM key published in DNS and email is signedCriticalForged email content
DMARC record exists with at least p=quarantineCriticalBrand impersonation / business email compromise
DMARC reporting (rua) configured to monitor failuresHighVisibility into spoofing attempts
BIMI record (optional, logo in inbox)MediumBrand trust at send

New to SPF/DKIM/DMARC? Start with our comparison guide.

DNS & domain hardening

CheckPriorityNotes
DNSSEC enabled and validatingHighPrevents DNS cache poisoning
CAA record limits which CAs can issue SSL certs for your domainHighStops rogue certificate issuance
No dangling DNS records pointing to unclaimed cloud resourcesHighSubdomain takeover risk
Parked/unused domains have SPF -all + DMARC p=rejectHighAttackers target inactive domains
Domain registrar has 2FA enabledCriticalPrevents domain hijacking

Exposed files & secrets

CheckPriorityHow to test
.env file not publicly accessibleCriticalVisit https://yourdomain.com/.env — must return 403/404
.git directory not browsableCriticalVisit https://yourdomain.com/.git/HEAD — must return 403/404
No live API keys in public HTML or JavaScriptCriticalView source and search for "sk_live", "AKIA", "AIza"
Error pages don't reveal stack traces, file paths or framework versionsHighTrigger a 404 and 500 error, inspect the response
Directory listing disabled on web serverHighVisit a directory URL — should not list files

Cookie security

FlagPriorityWhat it does
Secure flag on all cookiesHighBlocks cookies over HTTP
HttpOnly flag on session cookiesCriticalPrevents JavaScript from reading the cookie (XSS protection)
SameSite=Lax or Strict on session cookiesHighPrevents CSRF attacks

Software & updates

Access & authentication

Backups & incident readiness

Quick-start: the three fixes that matter most

If you only have 30 minutes, focus here:

  1. Set up DMARC at p=quarantine — most domains are spoofable today because this record is missing. Takes 5 minutes. DMARC setup guide →
  2. Add missing security headers — CSP, X-Frame-Options and X-Content-Type-Options can be set in your server config or CDN (Cloudflare) in minutes. Header guide →
  3. Check /.env and /.git are blocked — leaked credentials are the fastest path to a full site compromise. Run the Kalenfy scan →

FAQ

How often should I run a security checklist?

At minimum, once per quarter and after any major change (new plugin, new team member, infrastructure migration). Automated scans like Kalenfy can run continuously so you don't need to remember.

Do I need a penetration test on top of this checklist?

This checklist covers passive, public-facing checks — it doesn't require authentication or intrusive testing. A penetration test goes deeper (authenticated, business logic, internal network) and is warranted when you handle sensitive data or have compliance requirements. The passive scan is always a sensible first step before commissioning a pentest.

My site is on a managed platform (Shopify, Squarespace) — do I still need this?

The platform handles server-side hardening, but you still own the email authentication (SPF/DKIM/DMARC), domain configuration (DNSSEC, CAA), API key safety and admin account security. All the DNS and email checks in this list still apply.

How do I check all of these at once?

The Kalenfy scanner automates the HTTPS, security headers, cookie flags, email authentication, DNS and exposed-file checks from this list. It generates a PDF report you can work through systematically — free, no account required.

Check your own domain — free

Kalenfy runs a passive scan of your SPF, DKIM, DMARC, DNSSEC, CAA and more, then gives you a downloadable PDF report with exact fixes. You see your grade first — no email needed to view it.

Scan my site free

Related guides