Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
docs: clarify authentication model in API.md (#4012)
[._.]/ Adam Eivy8d01712e29f7
diff --git a/docs/API.md b/docs/API.mdindex 68acecf56d..0ba7f61ca3 100644--- a/docs/API.md+++ b/docs/API.md@@ -21,10 +21,11 @@ PortOS is designed for personal/developer use on trusted networks. It implements- **Network isolation**: By default, access should be restricted to trusted networks (e.g., Tailscale VPN, localhost)- **Command allowlist**: Shell command execution is restricted to an approved allowlist (see `server/lib/commandAllowlist.js`)- **Input validation**: All API inputs are validated using Zod schemas-- **No application-level authentication**: PortOS assumes network-level access control+- **Opt-in authentication**: Off by default (trusting private network/Tailscale), PortOS supports opt-in instance password authentication (enforced by `server/lib/authGate.js`) gating `/api/*`, `/data/*`, and `/sdapi/*` via session cookies, Bearer tokens, or HTTP Basic credentials**Important**: Do not expose PortOS APIs directly to untrusted networks. For production deployments, consider:- Binding to `127.0.0.1` instead of `0.0.0.0`+- Enabling instance password authentication in Settings → Security- Running behind an authenticated reverse proxy- Using Tailscale or similar VPN for remote access