Skip to content

See where your office's data lives, step by step

One Codossier Office application, and one database per office: read which organization and instance a database belongs to, how a stray copy is kept quiet, and where the office's keys are kept.

3 steps·3 min read·Deployment and Data

Hosted by Codossier, or your own database in your own cloud or on your own server.

What it is

  • Every Codossier Office database belongs to one organization, recorded once on its organization record: the organization key, the instance, the environment and the plan.
  • The host checks that record on every start and refuses a database of another organization or instance.
  • A database restored somewhere it was not meant to run becomes a quarantined copy: mail in Sandbox, only Global Administrators in, until one confirms it as an instance.
  • The office's secrets are sealed by a master key that lives where its plan says: a local key for an individual, the office's own vault for an office.
  • Three postures share the same application: hosted by Codossier, your own database in your own cloud, or the same app beside your own SQL Server.

Good to know

  • Hosted offices and bring-your-own-database are being rolled out in stages: the screens here are the organization record and the install profiles; the hosting choice itself has no screen yet. Today a Codossier Office database installs as an instance from a packaged copy, with its organization, environment and keys set at first run.
  • Codossier Office reaches a bring-your-own database only as a database user you grant and can revoke; it holds no password to it.
  • Secrets read as masked to every person, administrators included.

Before you start

  • Every office in Codossier Office has its own database, and every database knows which organization it belongs to, which instance it is and whether it may send mail. This page shows where that lives and how a copy is kept from acting as the original.
  • Here, the organization record of a development instance, and the Office install profile.

1Open the organization record: one per database

Type Organizations in the top bar's Search box, pick Go to Organizations, and open its one record: a database belongs to exactly one organization, made once when the database is set up. Its Organization Key is the short name that never changes (it names the office outside its database, for example in its web address and its vault). Its Instance Name and Environment say which copy this is: production, QA or development, each its own database and each an instance of the same organization. Plan is Individual or Office.

Every request, background job and scheduled run knows its office from this record, and the host refuses a database that belongs to another organization or another instance.

See where your office's data lives, step 1: Open the organization record: one per database (Never changes; Which copy this is; Production, QA or development; Individual or Office)
1Never changes2Which copy this is3Production, QA or development4Individual or Office

2A restored copy knows it is a copy

Each database carries a fingerprint that a restore always changes. At every start, Codossier Office compares it with the organization record. A database restored somewhere it was not meant to run is recognised as a copy: it becomes a new instance, its Mail Mode drops to Sandbox so no email leaves it, the Binding Note says why, and it is quarantined. Only a Global Administrator can sign in to it, and a banner asks them to confirm it as an instance of the organization; until then it sends no mail.

Expected Host, when set, ties people's sign-in sessions to this instance's own address.

See where your office's data lives, step 2: A restored copy knows it is a copy (Sandbox sends nothing; Why it was quarantined; Sessions tied to this host)
1Sandbox sends nothing2Why it was quarantined3Sessions tied to this host

3Where the office's keys live

The office's secrets (mail and AI keys, connector credentials) are sealed by a master key. The install profile of each plan says where that key lives: under Keys, the Office profile uses the Organization vault, the office's own key vault, and the Individual profile a local key beside the app. Find Install Profiles the same way and pick a profile to read it. A secret is never shown back to anyone, administrators included.

See where your office's data lives, step 3: Where the office's keys live (The office's own vault; What the plan gives)
1The office's own vault2What the plan gives

What next