Security & settings
Platform security covers who can reach the admin panel, what operators may do, how abuse is detected and what is recorded. Settings here apply to every tenant.
Access control
| Control | Recommended |
|---|---|
| Admin panel exposure | Restrict to office/VPN IPs |
| Two-factor authentication | Required for every operator |
| Session idle timeout | 30 minutes |
| Password policy | 14+ characters, breach-list checked |
| Login alerts | Email and webhook on new device |
| Failed-login lockout | 5 attempts, 15-minute lock |
Configure an IP allow-list under Security → Access. Add your current address first; the panel warns if you would lock yourself out.
Allowed: 203.0.113.0/28
Allowed: 2001:db8:4::/64
Deny everything else on /adminFirewall
WasFor manages the host firewall and exposes a readable rule set. Keep the public surface minimal:
| Port | Service | Public |
|---|---|---|
| 80, 443 | Websites, ACME | Yes |
| 22 | SSH | Restricted by IP |
| Panel port | Admin and user panel | Restricted by IP |
| 25, 465, 587 | Only if you host mail | |
| 3306 | MariaDB | No |
Enable fail2ban-style protection for SSH, the panel login and mail authentication. Thresholds are per source IP and reset after a quiet period.
Abuse detection
Signals are evaluated continuously:
- Outbound mail volume above a per-account baseline.
- Repeated authentication failures against mail or SSH.
- Cryptomining patterns: sustained CPU with no matching web traffic.
- Outbound connections to blocklisted destinations.
- Rapid creation of sites or mailboxes after signup.
A flagged account appears under Security → Signals with evidence and a recommended action: warn, throttle, suspend or escalate. Suspension is reversible; deletion is not.
API keys
Machine access uses scoped keys, never operator passwords.
| Scope | Allows |
|---|---|
users:read | List and read accounts |
users:write | Create, update, suspend |
orders:read | Read orders and invoices |
orders:write | Refund, cancel, adjust |
nodes:read | Health and capacity |
logs:read | Audit and system logs |
Keys are shown once, stored hashed, and can carry an expiry. Rotate on a schedule and revoke immediately when a integration is retired.
GET /api/admin/users
Authorization: Bearer <api-key>Audit log
Every mutating request records:
{
"actor": "ops@example.com",
"role": "admin",
"action": "user.suspend",
"target": "customer:1042",
"before": { "status": "active" },
"after": { "status": "suspended" },
"ip": "203.0.113.9",
"at": "2026-12-01T09:14:22Z"
}Logs are append-only from the panel's perspective. Retain them for at least 180 days, and export to external storage if your compliance regime requires it.
Platform settings
| Setting | Notes |
|---|---|
| Branding | Logo, name, accent colour, panel domain |
| Mail limits | Per-account and per-domain sending caps |
| Backup defaults | Schedule, retention, remote target |
| Updates | Automatic security updates, maintenance windows |
| Notifications | Email, webhook, chat integration |
| Data retention | Logs, backups, deleted accounts |
| Localisation | Default language and enabled locales |
Branding changes apply to both the user panel and customer emails. Keep the legal links current — they are shown at signup and in the footer.
Update policy
- Apply security updates automatically during the maintenance window.
- Review release notes for minor versions and stage on a canary node.
- Snapshot before major upgrades.
- Verify panel health, sample sites and mail flow after every upgrade.
Security review checklist
- Admin panel not reachable from the public internet without a VPN or allow-list.
- Every operator has 2FA and the narrowest role that works.
- Default passwords removed; no shared operator accounts.
- API keys scoped and rotated; unused keys revoked.
- Audit export tested and retained.
- Alerts wired to a channel someone actually reads.