Phase 10, part 2: the first owner, from a one-time setup link
A new server prints a link to create its owner (supermarket setup-link makes another); until it's used, every page says the setup isn't finished. One-time links (schema 33) are kept as hashes and used up in one statement; resets and invitations will use them too. The server edition opens Postgres. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -210,7 +210,7 @@ The old terminal app used `http://localhost:8080/callback`; you can remove that
|
||||
## Security
|
||||
|
||||
- The port is published on `127.0.0.1` only, so other machines can't reach it, whatever the firewall says.
|
||||
- The app has no login, so it protects itself from web pages open in the same browser: it only answers requests addressed to `localhost` (against DNS rebinding), and refuses form posts that don't come from its own pages.
|
||||
- The app has no login, so it protects itself from web pages open in the same browser: it only answers requests addressed to `localhost` (against DNS rebinding), and refuses form posts that don't come from its own pages: each form carries a random token that another site can't know, and the browser's `Origin` must be the app's own.
|
||||
- The container runs as you, with a read-only filesystem, no Linux capabilities and `no-new-privileges`. It can write only its data folder.
|
||||
- `/mcp` requires the bearer token in `mcp-token`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user