Security
2 posts on Security.

Every Security Layer I Add Assumes the One Before It Already Failed
Why I stack security layers in a backend only I use: what each one assumes, which mistake it survives, why explaining how it works shouldn't weaken it, and what layering still cannot fix.
5 min read

Why My Rust Backend Is Not Allowed to Log In as postgres
A superuser skips row-level security, so a backend that logs in as postgres turns every RLS policy into decoration. How I split the database into three roles, why the password is a file and not an env var, and what the sqlx pool does with it.
6 min read