Security
What you are vouching for when you embed signing, and how the frame is protected.
Early access
The REST API, webhooks and embedded signing are open to accounts in early access. If Settings, Developers is not in your account yet, write to contact@docudetect.com. What these pages describe can still change; breaking changes are announced on this site first.
You vouch for the signer
Whoever opens an embedded signing link signs as that signer. DocuDetect does not email them or check who they are: your app does, by deciding who sees the frame. Show the link only to the person you signed in as that signer, and only after your own sign-in.
That is why embedding:sessions is a separate permission, and why the app warns when you tick it: a key with it can open a signing session for anyone you add as a signer inside your app.
The certificate of completion records that the signer signed inside your app, and on which domain. The document's history gets a document.embedded_session_opened event, and the following document.signed carries embedded.
How the frame is protected
- Verified domains only. The signing page sends
Content-Security-Policy: frame-ancestorswith the session's own origin, and only on/embed/sign/*. Every other DocuDetect page refuses to be framed. - One-time links. A link opens once, within 5 minutes. Once open, the session lives only in the frame's memory and ends after 60 minutes. Opening a new link ends the earlier ones.
- Messages go to one origin. The frame posts only to the session's exact origin, never
*, and it ignores messages your page sends it. - Messages carry no personal data. Ids and statuses only: no names, emails, titles, field values or links.
- Links stay out of logs. DocuDetect redacts session links from its own logs. Keep them out of yours.
Checklist
- Ask for the session from your server, never from the browser: the API key must not reach the page.
- Check
event.originandevent.sourcein your message listener. - Confirm signatures with the API or a webhook, not with a message alone.
- Remove a domain you no longer use from Settings, Developers.