Protect a field
Section titled “Protect a field”This guide is for builders whose entities hold information that only a few people should see — salaries, national IDs, bank accounts, medical notes. By the end you will be able to mark a field Sensitive or Encrypt it, choose who may see its value, and decide what reactions, document templates and summaries may reveal when they use it.
How field protection works
Section titled “How field protection works”Ordinary permissions decide who can open a record. Field protection goes one step further: it hides one field’s value from everyone who has not been given access to that field — even people who can open and edit the record, and even system administrators.
Take an Employees entity with a Salary field. The HR team must see salaries; line managers can open their staff’s records but must not see the salary.
Sensitive Since 1.8 | Encrypt Since 1.10 | |
|---|---|---|
| What it does | Shows **** instead of the value to anyone without access | Stores the value encrypted, and shows it only on request to people with access |
| How people with access see it | They select Unmask and confirm who they are; values stay visible for the time they chose | They select the value’s reveal icon and confirm who they are; one value is shown at a time |
| Can the field be filtered, searched, summed or grouped? | Filtered and summed only by people with access; never searched | No — the stored value is unreadable to the database |
| Use it for | Most confidential data people still need to work with | Data that must stay encrypted even in the database, such as identity numbers |
A field can be Sensitive or Encrypted, never both. In both cases, access to the field is given to people and groups — by you when you design the field, or by a tenant administrator in Administration › Access Management › Sensitive Permissions.
Mark a field sensitive
Section titled “Mark a field sensitive”- Open the entity’s designer (three dots on the entity card › Edit Entity) and select the field on the Structure tab.
- In the field’s settings, turn on Sensitive.
- In Select Users and Select groups, choose who may see the value — for example the HR group.
- Select Save.
From then on, everyone else sees **** in that field — in lists, on the record,
in its history and audit trail, and in reports and exports.
People who already have access through a wider grant — for example to every sensitive field of the entity or the module — are not listed in the field’s own pickers. Select Show Inherited next to the Sensitive toggle to open Inherited Permissions and see who they are. Those grants are managed in Sensitive Permissions, where a tenant administrator can also give access for a limited period.
Encrypt a field Since 1.10
Section titled “Encrypt a field Since 1.10”- Select the field in the designer and turn on Encrypt. Sensitive turns off by itself — the two cannot be on together — and so does Searchable.
- Choose who may see the value in Select Users and Select groups under the Encrypt toggle. These are the same grants as for a sensitive field.
- Select Save.
If the entity already has records, turning Encrypt on or off is a structure change that marks those records obsolete until they are upgraded; upgrading encrypts (or decrypts) their stored values. See Change an entity safely.
Your operator must have set up the encryption keys for this to work — see Field encryption keys and providers.
What an encrypted field cannot do
Section titled “What an encrypted field cannot do”Because the database cannot read the value, an encrypted field cannot be used:
- in searches, filters or query conditions — not even by people with access;
- in reaction conditions;
- in summary totals, averages and other aggregates;
- as the entity’s main title;
- in reports;
- in notification and email text (it comes out empty).
Document templates show it masked. A view grouped by a field that later becomes
encrypted (or sensitive) does not break: all its records fall into one group
headed ****.
Which fields can be protected
Section titled “Which fields can be protected”- Reference fields and blocks cannot be marked Sensitive or Encrypted. The individual fields inside a block can.
- Switch and Category fields can be Sensitive but not Encrypted.
- The entity’s main title cannot be protected, because titles are shown to everyone who can see the record. The sub title can be — it is masked where it appears.
- A mapped field takes its protection from its source field: if the source is sensitive, so is the mapped field, with the same people allowed to see it.
Decide what automations may reveal Since 1.10
Section titled “Decide what automations may reveal Since 1.10”A reaction, a document template or a summary often runs for someone else — an email sent by a reaction, a file generated from a template, a dashboard tile. When the entity has a protected field, these forms show a Sensitive Data Access Policy setting that decides what that element may reveal:
| Policy | Effect |
|---|---|
| Privileged | Always reveals the value. This is the default, and how these elements always behaved. |
| Prohibited | Never reveals it, whoever runs or opens the element. |
| User-Based | Reveals it only if the person who triggered or opened the element has access to the field. |
| Auto | Acts as Privileged when the platform runs it automatically, and as User-Based when a person triggers it. Not available on summaries. |
Things to know:
- User-Based cannot be chosen for a reaction with an automatic trigger — a timer, a time-limit breach, or one run by the system — because no person’s access can be checked.
- A summary that the policy does not allow is not shown at all; the tile says You do not have permission to view this summary.
- A reaction that must use a hidden value — to update a field, call another
system — fails rather than writing
****. Sending a notification, email or SMS, generating a file and announcing an event are allowed to pass the masked value on. - Reports do not have this setting: each reader sees only the fields they have access to.
Good to know
Section titled “Good to know”- No one sees protected values by default. Holding access is not enough on its own: people reveal sensitive values with Unmask, confirming who they are, for a period they choose; encrypted values are revealed one at a time. What they see is described in Account security & sensitive data.
- Filtering on a sensitive field is allowed only for people with access to it. In Administration, designers may name a sensitive field in a query, filter or reaction condition even without access, so they can build them for others; the values stay hidden.
- Editing without seeing. People who can edit the record but cannot see the field can still type a new value into it; they never see the current one.
- Every reveal is audited — who revealed which fields of which records, never the value itself.
- Access can expire. A tenant administrator can give access for a limited period; it ends automatically.
Troubleshooting
Section titled “Troubleshooting”| Problem | What to check |
|---|---|
| Sensitive cannot be turned on | The field is a reference field or a block, or it is the entity’s main title — choose another main title first. |
| Encrypt turns itself off after saving | The field is a reference, block, switch or category field, which cannot be encrypted. |
Someone with access still sees **** | They have not unmasked yet, or their unmask period has ended. |
| A query or reaction condition is refused | It uses an encrypted field, or a sensitive field the person does not have access to. |
| A summary tile shows You do not have permission to view this summary | Its Sensitive Data Access Policy blocks the viewer — check the policy and the viewer’s access. |
| A reaction fails on a protected field | Its policy hides a value the reaction needs to act on. Use Privileged, or remove the field from the action. |
Platform 1.10.0 · Backend 1.11.0-alpha.11 · Frontend 1.11.0-alpha.6 · Mobile 1.10.2 · Chart 1.11.8 · Gateway 2.6.11 · MCP 0.2.0 · Grafana DS 1.2.0Docs build 2026-11-27