Skip to content
WasFor
Back to home
Documentation/Admin panel

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

ControlRecommended
Admin panel exposureRestrict to office/VPN IPs
Two-factor authenticationRequired for every operator
Session idle timeout30 minutes
Password policy14+ characters, breach-list checked
Login alertsEmail and webhook on new device
Failed-login lockout5 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.

text
Allowed: 203.0.113.0/28
Allowed: 2001:db8:4::/64
Deny everything else on /admin

Firewall

WasFor manages the host firewall and exposes a readable rule set. Keep the public surface minimal:

PortServicePublic
80, 443Websites, ACMEYes
22SSHRestricted by IP
Panel portAdmin and user panelRestricted by IP
25, 465, 587MailOnly if you host mail
3306MariaDBNo

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.

ScopeAllows
users:readList and read accounts
users:writeCreate, update, suspend
orders:readRead orders and invoices
orders:writeRefund, cancel, adjust
nodes:readHealth and capacity
logs:readAudit 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.

http
GET /api/admin/users
Authorization: Bearer <api-key>

Audit log

Every mutating request records:

json
{
  "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

SettingNotes
BrandingLogo, name, accent colour, panel domain
Mail limitsPer-account and per-domain sending caps
Backup defaultsSchedule, retention, remote target
UpdatesAutomatic security updates, maintenance windows
NotificationsEmail, webhook, chat integration
Data retentionLogs, backups, deleted accounts
LocalisationDefault 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

  1. Apply security updates automatically during the maintenance window.
  2. Review release notes for minor versions and stage on a canary node.
  3. Snapshot before major upgrades.
  4. 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.
Last updated: 2026-12-01