Skip to content
ankerform

Security & privacy

Separated data, traceable permissions

This page states what is technically implemented – and what is still open. We do not claim third-party certifications or audits.

Curved spiral staircase inside an exposed concrete building

Tenant isolation in three layers

Every request passes three independent checks before a database row is read or written. If one layer fails, the next one applies.

GET

Request

Organisation “Nordlicht” · contact #4821

  1. Service check

    requirePermission(ctx, "crm.view")

    Every service operation checks role, individual permissions and membership. The active organisation in the cookie is only a hint – only membership in the database authorises access.

  2. withTenant

    withTenant(tenantId, async (tx) => …)

    Database access runs in a transaction bound to the tenant. The context cannot leak between connections in the pool.

  3. PostgreSQL RLS

    ALTER TABLE … FORCE ROW LEVEL SECURITY

    Row-level security filters every row by tenant – enforced (FORCE). The application role has no BYPASSRLS.

Only rows of your own organisation

tenant_id = app_current_tenant()

Tested among others with manipulated IDs, foreign tenant_id on insert/update and context leaks in the connection pool.

Roles and permissions

Six roles per organisation, ranked. Individual permissions can be granted or revoked per member; nobody can grant permissions beyond their own role.

RoleContentManage membersBillingDelete organisationExport
OwnerAll areasYesYesYesYes
AdminAll areasYesYesNoYes
Team ManagerForms, CRM, documents, workflowsNoNoNoYes
EditorForms, CRM, documents, workflowsNoNoNoNo
AgentAssigned leads and contactsNoNoNoNo
ViewerRead onlyNoNoNoNo

Platform admin

Operator role outside organisations: manages tenants, plans and system functions. Checked server-side, invisible to other users (404); status changes are logged.

Further implemented measures

Sign-in
Passwords hashed with scrypt (min. 10 characters), two-factor via TOTP with backup codes, password reset without account enumeration.
Sessions
httpOnly cookies with SameSite=Lax, Secure in production; overview of active sessions and revocation.
Invitations & tokens
256-bit random, stored only as SHA-256 hash, bound to the email address, single-use and time-limited.
Encryption
Integration credentials are encrypted with AES-256-GCM, bound to the tenant (AAD).
Outgoing requests
SSRF protection for webhooks and REST connector: DNS resolution is checked, private networks are blocked.
Logs
Append-only audit log; logs redact sensitive keys; database errors are not passed to clients; IP addresses stored only hashed.
Web headers
Content security policy, X-Frame-Options DENY in the application, nosniff, referrer and permissions policy.
GDPR tools
Export and anonymisation of contacts, retention periods per form with daily deletion.

Open and planned

What we are still implementing. These points stay listed until they are done.

The implementation supports GDPR requirements technically; it does not replace a legal review.

  • OpenUpload validation with malware scanning (hook in place)
  • OpenTime-limited support access (data structure in place)
  • OpenSign-in rate limiting via Redis instead of per process
  • OpenTiered rate limits per permission scope