[INFRASTRUCTURE]

Security

Archway is built with security-first principles. Your architecture diagrams contain sensitive infrastructure details. We treat them accordingly.

01

ENCRYPTION

IN_TRANSITTLS 1.3 on all connections
AT_RESTAES-256 encryption on MongoDB Atlas
TOKENSEncrypted JWT session cookies
SECRETSEnvironment-scoped, never logged
02

AUTHENTICATION

We support OAuth 2.0 via GitHub and Google. Password-based auth uses bcrypt with a cost factor of 12. Sessions are managed via secure, HTTP-only cookies with CSRF protection.

03

APPLICATION_SECURITY

  • / Schema validation (Zod) on API inputs
  • / Redis-backed rate limiting, scaled per plan
  • / Same-origin API access (public embed endpoints excepted)
  • / Content Security Policy headers
  • / Automated dependency scanning (Dependabot + CI audit gate)
  • / React auto-escaping prevents XSS in diagram content
04

INFRASTRUCTURE

Archway runs on Vercel's edge network with automatic DDoS protection. Database hosted on MongoDB Atlas with network isolation and IP allowlisting. Hosted on SOC 2 Type II certified infrastructure (Vercel, MongoDB Atlas). Archway itself is not yet SOC 2 certified; certification is on our roadmap.

05

DATA_ISOLATION

Each user's diagrams are isolated at the database level with ownership-based access controls. Team/shared access uses role-based permissions (owner, admin, editor, viewer). Share links use cryptographically random tokens with configurable access levels.

06

INCIDENT_RESPONSE

Dependencies are scanned for known vulnerabilities on every change, and builds fail on any high or critical advisory. We aim to triage critical security advisories within 7 days of public disclosure. If a breach affects your personal data, we will notify you without undue delay, and within 72 hours where GDPR requires it.

07

RESPONSIBLE_DISCLOSURE

If you discover a security vulnerability, please report it to contact@archdiagram.dev. We appreciate responsible disclosure and will acknowledge your report within 48 hours.