Security

How Lyra protects your docs

Lyra holds a team's private docs and lets people from outside the company in, so we keep access in one place and keep page contents out of everything but your workspace.

Encryption

  • Every connection to Lyra uses HTTPS, and browsers are told to never connect without it.
  • Your pages, databases and files are encrypted at rest by our database and file storage providers.

One access check

  • A single part of Lyra decides who can see, comment on, edit or share each page. The web app, the desktop app, the API and every MCP tool go through it.
  • Guests only see the pages shared with them, never the rest of your organization.
  • Every share, role change and removed share is written to an audit log.

Sandboxed HTML blocks

  • HTML blocks run in a sandboxed frame on their own origin, apart from Lyra itself.
  • They can't fetch from other servers, submit forms, read your cookies or session, or reach the page around them. Scripts and fonts can only come from a few public CDNs.

Signing in

  • Sign in with Google, an emailed link or a password. Self-hosted servers can add single sign-on.
  • Passwords are stored as Argon2id hashes and checked against known breached passwords, without sending the password anywhere.
  • Session cookies are HTTP-only and secure, so scripts on a page can never read them.

AI agents

  • Agents sign in with OAuth and PKCE, as the person who connected them, and get exactly that person's access.
  • Their access tokens last an hour. Disconnect an agent any time in Settings → Connected apps.
  • Lyra saves a version before every agent edit, so any change can be undone, and no agent can share a page.

Backups and your data

  • Our database provider keeps continuous backups, so the database can be restored to an earlier point in time.
  • Admins can export the whole organization, and anyone can export their own pages, at any time.
  • Deleted pages go to the trash first, and earlier versions of a page are kept in its history.

What we log

  • Our logs and error reports hold ids, never the contents of your pages, your search text or your email address.
  • Payments go through Paddle, our reseller. Card numbers never reach Lyra.

Self-hosting

  • If your docs must stay on your own servers, run Lyra there with Docker. It is free, and your server never sends your docs to us.

Found a security problem?

Email security@lyra-docs.com with the steps to see it, and please give us a chance to fix it before you tell anyone else. Our security.txt has the same address.