>>. Security_Posture

I'm studying ethical hacking, so my own site should practise what I preach. Transparency over obscurity: this is how it's built and hardened.

Strict Content Security Policy

  • Only scripts, styles, fonts and images from this domain may load: no inline scripts, no eval, no third-party code.
  • Trusted Types are enforced, so DOM-XSS sinks like innerHTML are blocked by the browser itself.
  • The site can't be framed (clickjacking), base-uri is locked and forms can only post to this origin.

No third parties, no tracking

  • Fonts and icons are self-hosted — no CDNs, no Google Fonts, no analytics.
  • The only cookies remember your language and theme. The admin area uses a separate, strictly scoped session cookie.

Safe rendering

  • Everything is escaped on output. Project texts and writeups are formatted by a small parser that escapes first and only then adds a fixed set of tags.
  • Links must be https:// — javascript:, data: and friends are rejected.
  • All database queries use prepared statements with native (non-emulated) parameter binding.

Hardened admin

  • Password hashing with PHP password_hash, TOTP two-factor authentication and single-use recovery codes.
  • Brute-force protection: per-IP and per-account lockouts, constant-time checks and generic error messages.
  • Session cookies use the __Host- prefix, Secure, HttpOnly and SameSite=Strict, with idle and absolute timeouts. Every state change requires a CSRF token. Actions are written to an audit log.

Uploads

  • Uploaded images are re-encoded on the server: this strips metadata such as GPS/EXIF and destroys polyglot payloads.
  • Random file names; script execution is disabled in the upload folder and only image extensions are served.

Privacy by design

  • IP addresses are never stored in plain text — only as a keyed hash, used for rate limiting.
  • Contact messages are deleted automatically after 180 days.
  • Configuration and application code live outside the web root.

Transport & headers

  • HTTPS only with HSTS, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy, COOP and CORP.
cat /.well-known/security.txt

Found something? Responsible disclosure

If you find a vulnerability on this site, please mail security@nilsdriezen.be or use the contact form (see also /.well-known/security.txt). I will respond, fix it and — if you like — credit you here.

Please do not run denial-of-service tests or heavy automated scans, do not access or modify other people's data, and give me reasonable time to fix the issue before disclosing it publicly.

_Contact security.txt

Hall of fame

> Nobody yet. Will you be the first?