Security: the company's sign-in policy
Settings → Security is how people sign in to this company: the rules a password must meet, whether sign-in also asks for a code from an authenticator app, how long somebody stays signed in, and the protection that stops a sign-in rule from locking everybody out.
Everybody who can read settings can see the page. Changing the policy, and
Sign everybody out, needs the security_policy.manage permission, which
only the Administrator role has unless your company grants it to another role
on purpose. A support session can never use it.
Every value on the page is an ordinary setting in the Security area of All settings, so it is searchable there and shows who changed it and when. Change it here: this page checks related values together (for example, two-step "required for chosen roles" with no role chosen is refused) and records the change as one audit entry with the reason you give.
Passwords
| Setting | Key | Default | What it does |
|---|---|---|---|
| Minimum password length | security.password_min_length | 12 | 8 to 128 characters. |
| Require mixed characters | security.password_require_mixed | Off | A capital letter, a small letter, and a number or symbol. |
| Refuse common passwords | security.password_block_common | On | Refuses the passwords attackers try first (password1234, qwertyuiop, a season and a year, a word with numbers on the end) and a password that is the person's own email or username. |
| Password expires after | security.password_expiry_days | 0 (never) | 0 to 365 days. |
| Recent passwords refused | security.password_history | 0 | 0 to 12. How many recent passwords, including the current one, may not be chosen again. 0 still refuses reusing the current one when somebody changes their own. |
Where the rules apply. Every way a password is set: somebody changing their own, accepting an invitation or a reset link, an administrator setting a temporary password, and a new username sign-in. Generated temporary passwords always contain a capital, a small letter and a digit, so they meet "mixed characters" by themselves; if you raise the minimum length above 16, type a temporary password rather than generating one.
Existing passwords keep working. Raising the minimum length does not sign anybody out or invalidate anything; the new rule applies the next time somebody chooses a password.
Expiry is checked when somebody signs in and every fifteen minutes while they stay signed in. Somebody whose password is older than the limit is signed in and shown only the change-password screen until they choose a new one. The clock for passwords that existed before this feature started on the day it was installed, so switching expiry on does not send everybody to that screen at once. Current guidance (NIST SP 800-63B) is not to expire passwords; set it when your auditor, insurer or customer contract requires it.
History keeps the earlier passwords' one-way hashes only while the setting asks for them, and only as many as it asks for.
Two-step sign-in
security.two_step, default Optional:
| Choice | What happens |
|---|---|
| Off | Not offered: nobody can set it up. Anybody who already has it keeps it until they turn it off. |
| Optional | Each person decides on their own Preferences page. |
| Required for everybody | Somebody without it is signed in and shown only the two-step set-up screen until they have set it up. They cannot turn it off. |
| Required for chosen roles | The same, for the roles in security.two_step_roles (for example admin,manager,accounting). A company-defined role counts as the built-in role it is based on. |
Somebody already signed in when you require it is led to set it up within
fifteen minutes. Who has two-step sign-in on lists everybody with access,
whether they have it on and whether this company requires it of them. When
somebody loses their phone, Reset clears their second factor (needs
user.set_password; recorded in the audit log as access.mfa_reset). If two-step is
required of them, they are asked to set it up again at their next sign-in.
Sessions
| Setting | Key | Default | What it does |
|---|---|---|---|
| Sign out after inactivity | security.session_idle_minutes | 0 (never) | 0, or 5 to 1440 minutes without using the product. |
| Longest session | security.session_max_hours | 0 (14 days) | 0, or 1 to 336 hours from sign-in, however active. |
Both apply to new sign-ins at once and reach people already signed in within fifteen minutes. A screen that refreshes itself, such as an import in progress, counts as activity. Making the longest session shorter ends sessions that are already older than the new limit; making it longer applies to new sign-ins.
Sign everybody out ends every open session of everybody with access to this
company, on every device, including the administrator's own other devices.
Only the browser that pressed the button stays signed in. Sessions belong to a
person, not a company, so somebody who also works for another company is
signed out of that one too. It asks for a reason, and is recorded in the audit
log as security.signed_everybody_out with how many sessions ended. It is also
in the command palette.
Several tabs, one sign-in
Every tab of one browser shares one sign-in, and the product keeps them on the
same session: when one tab renews its sign-in, the others take the renewal
instead of renewing again. A copied renewal token used by somebody else is
still caught and ends the sign-in everywhere. The one allowance is a short
window, 30 seconds by default, in which the token renewed a moment ago is
accepted from a second tab. That window is a deployment setting
(REFRESH_REUSE_GRACE_SECONDS, 0 switches it off), not a company setting,
and each use of it is recorded in the audit log as auth.refresh_reuse_grace.
Too many wrong attempts
Ten wrong attempts on one sign-in inside fifteen minutes close it until those fifteen minutes are over. A wrong password and a wrong two-step code both count. While it is closed the right password is refused too, with a message that says how long to wait.
- It opens by itself when the fifteen minutes end.
- A new password opens it at once: the person's own Forgot your password? link, or a temporary password you set on their record under People.
- Signing in correctly before the tenth attempt starts the count again.
- It follows what was typed, not the device or the network, so a person locked on one computer is locked on every computer. An address with no sign-in is locked in the same way, so the message never says whether an address is registered.
The two numbers are deployment settings (SIGN_IN_MAX_FAILURES, 0 switches
the lock off, and SIGN_IN_LOCKOUT_SECONDS), not company settings: an attempt
is counted before the product knows which company the sign-in belongs to. Ask
support to change them.
Somebody who knows a colleague's email address can lock them out for up to fifteen minutes by typing wrong passwords on purpose. Requiring two-step sign-in does not prevent that, but it means the password alone was never enough to get in.
Lockout protection
This is a different thing from the lock above: it is about sign-in rules, not wrong passwords.
Sign-in rules (on a role or a person, under Roles and People) can limit when and from where somebody may sign in. These two settings, shown here with the rest of the policy, decide what happens when a rule would leave nobody able to sign in:
| Setting | Key | Default |
|---|---|---|
| When a rule would lock everybody out | access.lockout_protection | Refuse to save the rule |
| Look ahead | access.lockout_horizon_days | 7 days |
See Access for the rules themselves.
A person who works for more than one company
A sign-in is one login across every company it can reach, so it is held to the stricter of those companies' policies: the longer minimum length, the shorter expiry, inactivity limit and session length, the larger history, and two-step if any of them requires it.
Allowed IP addresses
There is no company-wide allowed-network list on this page. Sign-in rules on a role or a person can already restrict sign-in to listed networks (see Access). A company-wide list was left out because, behind the load balancer this product runs on, the address the application sees is not reliably the person's own until the deployment forwards and trusts it; a list that matched the load balancer would either let everybody in or nobody.
Recommended starting point
- Two-step sign-in required for Administrator, Manager and Accounting.
- Minimum length 12, common passwords refused, no expiry.
- Sign out after 60 minutes of inactivity on shared office machines.