01
Server actions and routes
- Sign-in and permission checks inside every server action, not only on the page in front of it
- Ownership check per record: may this account change or delete exactly this record?
- Return values: only the fields the interface needs should come back, not complete database rows
- Route handlers and proxy.ts: sign-in, input validation and rate limiting for expensive actions






















