Security and privacy
Understand account boundaries, guest access, scoped credentials, provider sessions, and deployment hygiene.
Identities and scope
| Identity | Authorized purpose |
|---|---|
| Owner | Instance settings, administration, and protected diagnostics. |
| Signed-in account | Account-scoped playback, library, devices, and linked provider sessions where enabled. |
| Jam participant | The invited room's playback and controls. A guest invitation grants room access. |
| App audio credential | Scoped playback or download access tied to a live session. |
| Private Alexa skill credential | Alexa playback for the enabled Music Box account and its linked Amazon identity. |
Account protections
Browser authentication uses session cookies and server-side session validation. Mutation endpoints check the applicable request and identity rules. Where configured, login requires a second factor. Sensitive account changes use verification steps and can invalidate older sessions or credentials. A temporary password can restrict the session until the account holder changes it.
Provider isolation
Music Box tracks YouTube Music browsing credentials separately from streaming credentials. The interactive YouTube login runs in a private browser sidecar behind a short-lived authorized session. Credentials are promoted after validation. Amazon login state is retained in the configured persistent volume, and the Alexa skill uses its own account-scoped token.
Jam access
Treat Jam URLs and QR codes as invitations to the room. The backend checks that the room remains active and the member remains authorized. Hosts can remove participants, replace the invite, or end the room. See Participant management for the controls.
Self-hosting checklist
- Serve the public web and Echo origin over HTTPS. Keep internal services on private networks.
- Use independent secrets for administrator access, session signing, and private service communication.
- Give private skills per-account tokens. Store environment values, cookies, and browser profiles outside the repository.
- Back up persistent data and protect the backups as account data. Follow the self-hosting guide when upgrading.
- Use the public health endpoints for monitoring and sign in to view the owner's detailed status panel.