Tutorial Launch Laramin for your business Step 9 of 11 · Stage 4: Keep it safe. 0 of 10 steps done Exit tutorial

Security settings

Every field on the Security settings panel, with its default and the values it accepts, and how to download the security log. Covers sign-in, lockouts, API tokens, trusted devices, IP access control and the Content-Security-Policy header.

Why this step

A few sign-in rules stop most account break-ins. The rest of this panel can wait.

Today you only need:

Applies to
Core 12.0 and later
Who can do this
Platform owner
Permission
feature.core.security.edit
Where
Configurations › Security › Security Settings

The Security settings panel is for super admins only. Its permissions, feature.core.security.view and feature.core.security.edit, are left out of the standard Administrator role. Someone with .view and not .edit sees the panel read-only. To save your changes, select Save changes. They apply straight away.

The Security settings panel showing the Session & Authentication fields at their defaults, with two-factor and registration switches off, and the start of API & Tokens with a 7-day token lifetime.

Session & Authentication

FieldWhat it doesDefaultNotes
Session lifetime (minutes)How long an idle session stays valid.605–480
Max login attemptsHow many failed sign-ins are allowed before the account is locked out. Laramin counts failures for each email address and for each IP address.51–20. Only applies while Enable brute-force protection is on.
Lockout duration (minutes)How long a locked-out account stays locked.151–1440. Only applies while Enable brute-force protection is on.
Require two-factor authenticationEveryone who uses the admin must set up two-factor authentication. Until they do, they can only open Profile › Security. It applies to the mobile app too: the app asks them to set it up on the web before it signs them in, and asks people already signed in on their next step.OffSuper admins and portal users aren't affected.
Allow public registrationLets visitors create their own account from the sign-up form.OffFrom Core 12.8.7, your global IP rules apply to it: a visitor on an address they refuse can't sign up, and no account is created. See How IP access control works.
Allow mobile app sign-upLets people create an account from the mobile app.OffAccounts created from the mobile app get API access automatically. Leave this off unless you want self-serve sign-up. It also controls a person's first social sign-in from the app.

API & Tokens

FieldWhat it doesDefaultNotes
API token lifetime (days)The default expiry for newly issued API tokens.71–365

Trusted Devices

FieldWhat it doesDefaultNotes
Enable trusted devicesShows Trust this device on the sign-in form. A person who uses two-factor authentication isn't asked for a code again on a device they've trusted.Off
Max trusted devices per userThe most devices one person can trust.51–50. Shown only when trusted devices are on.
Trusted device duration (days)How long a device stays trusted.301–365. Shown only when trusted devices are on.
Trusted Devices and Brute-force & CAPTCHA sections of the Security panel, with Enable trusted devices highlighted and switched on so Max trusted devices per user (5) and Trusted device duration (30 days) show.

Brute-force & CAPTCHA

FieldWhat it doesDefaultNotes
Enable brute-force protectionTurns on the account lockout set by Max login attempts and Lockout duration (minutes).On
CAPTCHA after N failed attemptsShows a CAPTCHA on the sign-in form after this many failed attempts.31–10. The CAPTCHA appears only if CAPTCHA is also turned on in CAPTCHA settings.

IP Access Control

FieldWhat it doesDefaultNotes
IP policy modeBlock-list only: every IP address may sign in except the ones you block. Allow-list only: only IP addresses on a global allow rule may sign in.Block-list onlySee How IP access control works.
Auto-block suspicious IPsBlocks an IP address automatically after repeated failed sign-ins.On
Auto-block thresholdHow many failed sign-ins from one IP address, within 10 minutes, trigger a block.101–100
Auto-block duration (minutes)How long an auto-blocked IP address should stay blocked.601–10080
Super-admin break-glass bypassLets super admins sign in from an address that isn't on the allow list, so you can't lock yourself out.OnIt doesn't override an explicit block rule.
IP Access Control and Content-Security-Policy sections of the Security panel, with IP policy mode set to Block-list only, auto-block and break-glass bypass switched on, and threshold 10 and duration 60 minutes.

Danger: If you switch IP policy mode to Allow-list only before you've added a global allow rule for your own addresses, nobody but super admins can sign in. If you've also turned off Super-admin break-glass bypass, super admins are locked out too. Add your allow rules in IP Rules first.

Content-Security-Policy

FieldWhat it doesDefaultNotes
Content-Security-Policy headerThe raw Content-Security-Policy header value Laramin sends with its responses.BlankUp to 2,000 characters. Leave it blank to send no header.

Download the security log

Laramin writes security events to their own log, separate from the application log. The log records failed sign-ins (with the email address and IP address), IP addresses blocked automatically, monitoring alerts, and requests for a host name the app doesn't trust. Laramin writes one file per day and keeps 90 days.

To download it, you need feature.core.security.edit.

  1. Open Configurations › Security › Security Settings.

  2. Select Download security log.

    Security Settings page under Configurations › Security, with the Download security log button highlighted in the Security panel header.
  3. Save the file.

If one day of log is retained, you get that day's file, for example security-2026-11-05.log. If several days are retained, you get them all in one zip file. If there's no log yet, you see Security log file not found.

Danger: Clear Log in Extra Utilities deletes every .log file, including the security log. Download the security log before you clear the logs, or you lose that audit history for good. See Extra Utilities.

Check it worked

0 of 2 ticked

Tick each one you can see. Ticks stay on this device; they don't stop you moving on.

Check it worked

Something not right? You can't get past the CAPTCHA

Back
Steps
Mark done