Security and data
What SharpWrite does to keep your content and accounts safe, and the few things that are up to you.
Sign-in
- There are no passwords to leak. You sign in with an emailed link; Cloud also supports Google sign-in.
- A sign-in link works once and expires after 10 minutes. Sign-in attempts are rate limited.
- Sessions use long random tokens that are stored only as hashes, so a database leak does not expose a usable session. Signing out ends the session on the server.
- Every write needs a same-origin request, which blocks forged requests from other websites.
API keys and preview tokens
- A key is shown once and stored only as a hash. We cannot show it to you again; create a new one instead.
- Revoking a key or token takes effect immediately.
- A key reads one site only. A preview token has an expiry, only works together with a valid key and only for its own site.
- Your part: keep keys and tokens on your server or in your build environment, never in code that runs in a visitor's browser.
AI agents
- Keys are read-only unless you tick "Let AI agents write drafts" when you create them. Existing keys never gain write access.
- An agent can only save and edit drafts. It cannot publish, unpublish or delete, and it cannot change a published entry, so a compromised key cannot alter your live site. Its changes are kept in the version history.
- Anything an agent writes goes through the same checks and rich-text cleaning as a save from the editor. See AI agents (MCP).
Rich text and uploads
- Rich text is cleaned on the server every time it is saved. Scripts, event handlers and unsafe links are removed. Images are kept only if they are your own media or an
https://address. - Uploads are checked by their actual contents, not their file name, and only PNG, JPEG, GIF and WebP up to 5 MB are accepted.
- Pages built with the page builder are structured data that is escaped on display, so they cannot carry scripts.
Webhooks
- Every delivery is signed with HMAC-SHA256 over the timestamp and body, with a secret only you and SharpWrite know. Verify it and reject old timestamps. See the API reference.
- Only public
https://addresses are allowed. Redirects are not followed and addresses on private networks are refused, so a webhook cannot be used to reach internal systems.
Access control and isolation
- Roles are enforced on the server for every action. See Team and roles.
- Workspaces and sites are isolated. A user can only reach data of workspaces they are a real member of; cookies that remember your current site are only hints and are checked on every request.
Payments
Payments are handled by our payment provider. Plan changes happen only after a signed message from the provider has been verified, never because of something the browser says.
Self-host and licenses
- Your content, database and media stay in your own Cloudflare account. SharpWrite does not receive them.
- The install contacts the license server about once a day to confirm the license. The install sends its license key and its domain, not your content. The answer is a signed token that the install checks with a public key.
- The first-run setup page requires your license key, so a stranger who finds a fresh install cannot claim it.
- Download links for the bundle expire after 24 hours and are checked again on every use.
Reporting a problem
If you think you found a security problem, email hello@sharpwritecms.com with the details and give us a reasonable time to fix it before you share it. Please do not test against other people's data.