Security
How this site is secured
If I'm going to review your security, mine should hold up to scrutiny. Go ahead and scan it withsecurityheaders.com orMozilla Observatory. Here's what you'll find, and why.
Minimal attack surface
- The site is static HTML served from Cloudflare's edge. There's no CMS, no plugin ecosystem and no server to patch.
- The only dynamic code is a small Cloudflare Worker that receives the contact form.
- No frameworks are shipped to your browser. The only first-party script is a few dozen lines of plain JavaScript.
Strict Content Security Policy
- No inline scripts or styles, and no
unsafe-inlineorunsafe-eval. - Cloudflare is the only third party allowed to load anything: Turnstile (spam protection on the contact form) and Web Analytics. Nothing else, no ad or tracking scripts, no embedded widgets, no external fonts.
- The site can't be framed (
frame-ancestors 'none'), and forms can only post back to this site.
Hardened headers
Strict-Transport-Security: HTTPS only, for two years, including subdomains.X-Content-Type-Options: nosniff,Referrer-Policy: strict-origin-when-cross-origin.Permissions-Policydenies camera, microphone, geolocation and other powerful features.Cross-Origin-Opener-PolicyandCross-Origin-Resource-Policyisolate the site from other origins.
Privacy by design
- No cookies, no tracking across visits. Analytics are aggregate and cookieless.
- Enquiries are deleted automatically after 90 days.
- Notifications to chat tools contain no personal data.
- The admin view sits behind Cloudflare Access (single sign-on), and the Worker verifies the Access token itself as a second check.
Abuse protection
- The contact form combines a honeypot, a minimum fill time, per-IP rate limiting and Cloudflare Turnstile.
- All input is validated and length-limited server-side, and escaped wherever it's displayed.
Found something?
Please tell me at hello@bensec.dev. Seesecurity.txt. Good-faith research is welcome; please don't run automated scans against the contact form or access other people's data.