SØNDAG
2026-11-22

Too many projects, too many ideas, too few hours — one learning a day anyway

A button that dials out is not a read-only page

Decision. The phone agent’s dashboard now sits behind a login in one piece of middleware: the API, the pages, the export and the recordings all pass through the same door.

Because. It stood open on the local network, and the button on it places real calls to real people and costs real money. An unauthenticated page that only reads would be bad; one that dials out is a different category. If no password is configured the app now answers an error on everything instead of falling open — nobody having set a password is not evidence that the door may stand open.

Instead of. Guarding the one expensive endpoint. The recordings are the sensitive part, and they are static files that check would have missed.