Website security checklist: 12 things to fix before attackers find them
10 November 2026 · 2 min read · اقرأ بالعربية
Most website breaches do not need a clever attacker. They use something that was simply left open. Work through this list — each item takes minutes to check and usually less than an hour to fix.
Transport and certificates
- HTTPS everywhere, with a redirect. Every page, including images and scripts, over
https://, andhttp://sends visitors there with a 301 redirect. - A valid certificate with automatic renewal. Expired certificates cause full-page browser warnings and break payments. Check with the SSL checker.
- TLS 1.0 and 1.1 switched off. Allow only TLS 1.2 and 1.3.
Headers and cookies
- Strict-Transport-Security (HSTS) so browsers never fall back to plain HTTP.
- Content-Security-Policy, the strongest browser defence against injected scripts. Start in report-only mode.
- X-Frame-Options or frame-ancestors against clickjacking, and X-Content-Type-Options: nosniff.
- Session cookies with Secure, HttpOnly and SameSite. Test all of these with the security headers check.
Things that should never be public
- No
.git,.env, backups or database dumps in the web root. One exposed.envfile can hand over database and payment-gateway passwords. - Admin panels behind a VPN or IP allow-list, with multi-factor login:
/wp-admin, phpMyAdmin, server control panels. - Directory listing switched off on the web server.
Software and code
- Patched software, nothing end-of-life. Old PHP, WordPress plugins and JavaScript libraries are matched against public vulnerability databases by attackers' tools within hours of a disclosure.
- Input handled safely. Parameterised SQL queries, output encoding against cross-site scripting, and no user input in file paths or shell commands. This is where an active web application test or a penetration test earns its cost.
Make it continuous
Websites change every week. Run the free scan now, then add your domain to a free account: it rescans automatically, closes issues when you fix them, and alerts you only when something new appears.
Check your own domain
Run the free scan to see how your website and email measure up.