Posts tagged #security
3 posts about Practical security for developers: authentication, authorization, abuse protection and safe defaults, explained with working code..
2026
- 16 min read
Spam protection without a CAPTCHA: an invisible proof of work in ASP.NET Core
A contact form in ASP.NET Core where each sender's browser pays with a little work: a signed, stateless challenge, solved in a Web Worker while you type.
- 30 min read
Protect an MCP server in ASP.NET Core with OAuth: a step-by-step example with Keycloak
An MCP server in ASP.NET Core that only signed-in users can use: Keycloak signs them in, the server validates tokens, each tool checks its scope.
- 25 min read
Your dev machine as a codebase with Claude Code
Let a coding agent run your dev machine safely: the machine documents itself, every change lands in git, guardrails come in layers. Bootstrap prompt included.