Skip to content

Security

What MeetAlias does to protect your data, and what's left to you as the operator.

Access

  • Sign-in only with Google or Microsoft. On Google, only verified accounts of the allowed domain, re-checked on every request; the OAuth app is Internal to your Workspace. On Microsoft, only member accounts of your tenant; guests are refused.
  • Sessions are signed, HttpOnly, SameSite=Lax cookies (Secure on https), valid for 7 days of inactivity. Every user has a session version; Sign out everywhere bumps it, ending all their sessions at once.
  • Admins: the person who completes the setup wizard, people an admin makes admin under Profile → Team access, and anyone in ADMIN_EMAILS.
  • Per-site owners restrict personal sites to one account.

Google and Microsoft access

  • On Google, MeetAlias asks for the narrowest scopes that do the job: Calendar events (not settings or other calendars' details), free/busy, and Gmail send (no reading).
  • On Microsoft, it uses delegated permissions only, acting as each signed-in person: Calendars.ReadWrite, Mail.Send (no reading) and User.Read, plus sign-in. It never gets access to other people's mailboxes. See Microsoft 365 setup.
  • Refresh tokens and the client secret are stored encrypted (AES-256-GCM, key derived from SECRET_KEY).
  • On Google, Google's own invitation emails are suppressed; all mail is composed by MeetAlias. On Microsoft, Exchange sends the calendar invitations, updates and cancellations, and MeetAlias adds a branded email.

Public pages

Booking pages, booking links and meeting links are public by design. They're protected by:

  • Unguessable links: meeting links get a random ending by default; reschedule/cancel links are signed tokens, not ids.
  • Rate limits per visitor IP, plus daily and per-booker caps per host (see limits; each can be changed).
  • A hidden form field that bots fill in and people don't.
  • No echoing: text a booker types (name, note) is never put into emails sent to the booker, so booking pages can't be used to send someone else's text through your mailbox.
  • Unconfirmed bookers: people matched to a client by domain or company name aren't added to that client's future invites until staff confirm them.
  • Photos and logos: uploads must really be JPEG, PNG or WebP (checked by content); everything is served from your own domain with nosniff and a CSP that forbids scripts. SVG logos can't run script.

Transport and headers

Caddy serves HTTPS only (HTTP redirects) and adds:

Strict-Transport-Security, X-Content-Type-Options: nosniff, X-Frame-Options: DENY, Referrer-Policy: strict-origin-when-cross-origin, Permissions-Policy (camera, microphone, geolocation, payment, USB off), Cross-Origin-Opener-Policy: same-origin, an enforced Content-Security-Policy (frame-ancestors 'none'; object-src 'none'; base-uri 'self') and a stricter CSP in report-only mode. Server and X-Powered-By are removed. The test-login path always answers 404 at Caddy.

Containers

  • The app runs as a non-root user, with a read-only root filesystem (small tmpfs for temporary files), all Linux capabilities dropped, no-new-privileges, and memory limits. The runtime image contains no npm or package managers.
  • Postgres sits on an internal Docker network: no published port, no internet access.
  • The schema is applied by a separate one-off migrate job, not on every app start.

Your part

  • Keep .env at mode 600, owned by root, and out of any repository.
  • Allow SSH with keys only; turn off password login.
  • Firewall: allow only 22, 80 and 443 (and 443/udp for HTTP/3).
  • Turn on automatic security updates for the OS.
  • Upgrade MeetAlias and its base images regularly (Upgrading).
  • Back up the database, encrypted and off the server (Backups), and test restores.
  • Monitor /api/health from outside.
  • Use a separate OAuth client or app registration for development, and never copy production secrets to laptops.
  • On Microsoft 365, renew the client secret before it expires (Renewing the secret).

Reporting a vulnerability

Please report security issues privately to the maintainers (see the repository's security policy) rather than in a public issue.