Reference
Security and privacy
What Dorvyn sees, what it keeps, and how the editor protects your documents, your users and your account.
Your documents#
- Editing happens in the browser. The document is in the person's page, and Dorvyn never receives it while it's edited.
- Drafts stay in the browser, compressed, under your
autosave-key. They're never sent anywhere. - Saving as Word sends the document to Dorvyn's export service over HTTPS. It builds the
.docx, returns it, and keeps nothing: no copy, no log of its contents. - On the Organization plan, self-hosted export keeps even that inside your network, and a data region (US or EU) keeps saving within that region.
- Saving to your own storage (
onSave,getDocument) never involves Dorvyn.
What Dorvyn records#
To license the editor and protect your account, Dorvyn records:
- counts of licenses, sessions and saves, per application, per day;
- refused license requests and possible misuse, for 30 days, with addresses and devices only as anonymous fingerprints;
- in strict mode, the opaque user id your server gives, never a name or an email;
- the audit log of changes made in your dashboard.
It never records document contents, file names, or what your users type.
Your users' data#
In strict mode, the only thing about your users Dorvyn gets is the opaque id your server chooses. Use your database's user id, or a hash of it. Dorvyn can't tell who a user is from it.
The editor stores nothing about the person in cookies. It keeps their interface preferences (theme, accent colour, collapsed ribbon) and drafts in their browser's own storage, for your site only.
Documents opened in the editor#
Documents can come from anywhere: a file someone uploads, your database, a web page. The editor treats them all as untrusted:
- Opening a
.docx, a web page, or a storedEditorDocumentcleans its HTML, so a document can't run scripts in your page. - Links to unsafe addresses (like
javascript:) are refused.
The editor's own code#
- The editor's engine is checked before it starts: the SDK runs only the engine built for it, so a changed or substituted engine is refused.
- The SDK needs no
'unsafe-eval'and no inline scripts, so it runs under a strict content security policy. - Its interface draws in shadow roots, so your page's CSS and its CSS don't affect each other.
Keys#
- Secret keys belong only on your servers. Dorvyn keeps only a fingerprint of each key and can't show it again.
- Publishable keys are meant to be seen and work only on the domains you list.
- Every key can be replaced with an overlap, or revoked at once (Keys and domains).
- The Security page shows refused attempts and possible misuse; the Audit log shows every key change and who made it.
If you think a secret key was exposed, replace it with no overlap, deploy the new one, and look at Security.
Your account#
- Dashboard sessions are kept in secure, HTTP-only cookies, and you can end any of them from Account.
- Roles limit who can change keys, members and billing (Roles).
- On the Organization plan, sign-in goes through your own single sign-on, so leaving your company ends access to Dorvyn too.
Reporting a vulnerability#
Found a security problem in Dorvyn? Email security@dorvyn.dev with the details. Please don't test against other customers' sites or accounts, and give us time to fix it before telling anyone else. More about how Dorvyn is built at dorvyn.dev/security.