Agents and integrations use scoped MCP or API access. Review and share links are random, hashed and revocable.
Sign-in choices
Email codes, with optional Argon2id-protected passwords where enabled.
Hashed tokens
Session, login, review, share, and access-token secrets are hashed at rest.
Scoped access
Access tokens carry explicit MCP and API scopes and can be revoked.
Sanitised Markdown
Raw HTML is dropped before rendered document output.
Passwordless auth
Sign-in uses first-party email codes or optional passwords where enabled. Codes expire quickly and passwords use salted Argon2id hashes. Email-code recovery remains available. New passwords are screened against known breaches using only a partial hash; passwords and full hashes are never sent to the screening service.
Protected sessions
Session tokens are stored as hashes and sent through secure, HTTP-only, same-site cookies in deployed environments.
Browser request safety
Browser form posts use CSRF protection. Login-code requests, OAuth token flows, and anonymous review writes are rate limited.
Review and share links
Review and share URLs use random tokens; Edith stores token hashes and supports revocation from document sharing controls.
MCP and API access controls
AI clients and integrations connect through scoped MCP or API access tokens, or OAuth flows. Tokens can be scoped to read/write areas and revoked from settings.
Markdown and assets
Comments and suggestions are escaped. Workspace assets require workspace access; public review/share asset routes only serve referenced files for the matching link.
Edge and origin
Protected before traffic reaches the app.
Edith runs with Cloudflare in front of the origin for DNS proxying, strict TLS, HTTPS redirects, managed security rules, and coarse abuse limits.
Origin control
Production firewall rules restrict web traffic to Cloudflare IP ranges.
HTTPS first
Cloudflare enforces HTTPS and Full (strict) TLS to the origin.
Abuse filters
Managed rules and coarse rate limits protect common anonymous endpoints.
Agent aware
MCP and API endpoints use authentication, rate limits and abuse controls designed for programmatic access.