Skip to content

Data separation, encryption and access

In Defthand each company (organization) is a separate account. Which company each record belongs to is kept at database level, and every query automatically reads only that company’s records. Asking for another company’s record by its address or id gets a “not found” answer; not even whether the record exists is told.

The same rule holds everywhere: the panel, the mobile app, API keys, webhooks, AI assistants and bots. The AI Workspace’s SQL queries also run with a separate, read-only database role and show only your company’s rows.

  • All traffic between the app (web and mobile) and the server is encrypted with HTTPS.
  • Integration secrets entered by administrators (webhook secrets, webhook credentials in workflows, e-mail server passwords and the like) are stored encrypted on the server and never shown on screen again.
  • API keys, bot keys and external link tokens are stored only as a hash; the key itself is shown once, only at the moment it is generated.
  • Every screen and every action needs a permission; permissions are given to roles, roles to people. Endpoints check the permission on the server; hiding a button is not the only safeguard.
  • There are record-level rules: for example an inspector sees only the inspections of their own team and location; in the AI Workspace a folder is seen only by its owner and those it is shared with, administrators included.
  • A module not in your company’s subscription cannot be opened by any route: it does not show in the menu and is also closed in the API and in the assistant tools.
  • Password and Two-step verification: a 6-digit code from an authenticator app.
  • Active sessions: you see your session on each device and close them one by one or click Sign out everywhere else. When you change your password, the other sessions stay open until you close them; if in doubt, close them too.
  • Single sign-on (SSO): sign-in with your organization’s own identity provider; if you like, you can switch password sign-in off completely.
  • Sign-in attempts are rate limited.

For details, see Account and sign-in.

  • An API key is not a person: it reaches only your company’s data, only with the chosen permissions; it can never reach user, role and key management or the customer portal. A key can be given only permissions the person generating it has.
  • Keys have an expiry date and are revoked whenever you want. See API keys.
  • AI Workspace bots see only what is shared with them or with the whole organization; their tokens live at most one hour.
  • Links sent to external people (for example for a subcontractor taking over a corrective action) are bound to a single record, have a time limit, can be revoked, and only their hash is stored.
  • Every uploaded file goes through a virus scan; an infected file is not saved.
  • Webhook addresses cannot point to private network or local addresses; webhook bodies contain no personal data.
  • The AI Workspace’s HTML pages and HTML blocks run at an address separate from the panel, in an isolated space that cannot connect out.