Use Strong Tokens
Generate secure tokens: openssl rand -hex 32
Resonix Docs
Resonix is designed with security-first principles. This guide covers best practices for secure deployment.
Secure your gateway with authentication:
{
"gateway": {
"auth": {
"token": "your-secure-token-here",
"mode": "token"
}
}
}
| Mode | Use Case |
|---|---|
loopback | Local only (default, most secure) |
lan | Local network access |
0.0.0.0 | Public (requires auth) |
Generate secure tokens: openssl rand -hex 32
Store secrets in environment, not in config files.
Start with loopback. Open to LAN only when needed.
Configure sender allowlists to limit message sources.
Configure channel-level security controls:
{
"channels": {
"telegram": {
"allowedUsers": ["user-id-1", "user-id-2"],
"allowedChats": ["chat-id-1"]
}
}
}
Control what Resonix can execute:
commands.allowlist - Only run whitelisted commandscommands.blocklist - Block specific dangerous commandscommands.requireApproval - Require approval for certain operations