---
title: "Security and upload settings"
site: admin
version: 2027.1
versions: "all"
url: https://docs-new.servicely.ai/admin/2027.1/access/sign-in/security-and-upload-settings/
type: reference
application: platform
last_updated: 2026-12-03
commit: 8d233372fa05
---


These settings control how users sign in, how long sessions last, which sign-in methods the instance accepts and which files users can upload. Look them up when you harden an instance or answer a security review. You need the `administrator` role.

The first four sections follow the tabs of **Security settings**, under **Access & security → Security → Security settings** in the Administration workspace. See [Change security settings](page:access/sign-in/security-settings). **Default** is the value on a new instance. Each setting is stored as the application property beside it.

## Sign-in

<!-- source: platform/data/PropertySetProperty?SetName=SecuritySettings, 2027.1.10 -->
<!-- code: servicely-core SecurityDefaultPropertyInstallTask and PasswordResetServiceImpl, and the trigger "User - Lock account on too many failed logins", 2027.1.10 -->
| Setting | Property | Default | Effect |
| --- | --- | --- | --- |
| Remember me | `system.auth.remember.me.enabled` | No | Offers "Remember me" on the sign-in page, so a person stays signed in on that browser. |
| Remember me duration (seconds) | `system.auth.remember.me.expiry` | 2592000 | How long a remembered sign-in lasts. The default is 30 days. |
| Failed sign-in limit | `user.failed_login_attempts.max_limit` | 5 | An account locks when its failed sign-ins go above this number. The account named `admin` never locks. Unlocking an account resets its count. |
| Password reset | `system.password.reset.enabled` | Yes | Lets people reset a forgotten password by email. See [Configure password reset](page:access/sign-in/configure-password-reset). |
| Reset link valid for (hours) | `system.password.reset.expiry.hours` | 24 | How long a password reset link can be used. |
| Show password reset on | `system.password.reset.locations` | User menu and Sign-in page | Where the password reset link shows. |
| Open links after sign-in | `system.deeplink.enable` | Yes | A link to a record opens that record once the person has signed in. |

One sign-in setting is on another page. **Email first** (`system.auth.login.multiple_provider_form`, default No) is on the **Sign-in** tab of **Localization settings**, under **Forms, lists & navigation → Localization**. When Yes, the sign-in page asks for the email address first. It then asks for the password or sends the person to their single sign-on provider.

## Two-factor

<!-- source: platform/data/PropertySetProperty?SetName=SecuritySettings, 2027.1.10 -->
<!-- code: servicely-core LoginServiceImpl.is2FAEnforced, SecurityDefaultPropertyInstallTask, 2027.1.10 -->
| Setting | Property | Default | Effect |
| --- | --- | --- | --- |
| Require two-factor authentication | `system.security.local.account.2fa.enforced` | No | Every local account signs in with a second factor. |
| Administrators only | `system.security.local.account.2fa.enforced.admin_only` | Yes | Holders of `administrator` sign in with a second factor. It applies while **Require two-factor authentication** is No. |

The steps are in [Enforce two-factor authentication](page:access/sign-in/two-factor-authentication).

## Sessions

<!-- source: platform/data/PropertySetProperty?SetName=SecuritySettings, 2027.1.10 -->
<!-- code: servicely-core SecurityDefaultPropertyInstallTask, SessionStatus.warningMs, SessionManager.enforceConcurrentSessionPolicy, 2027.1.10 -->
| Setting | Property | Default | Effect |
| --- | --- | --- | --- |
| Session timeout (minutes) | `system.http.session.timeout` | 60 | How long a session stays open without activity. |
| Session timeout warning (minutes) | `system.http.session.timeout_warning` | 5 | How long before the timeout Servicely warns the user. 0 turns the warning off. Servicely never warns earlier than half the session timeout before the end. |
| Allow concurrent sessions | `system.security.concurrent_sessions_enabled` | No | Lets a person be signed in from more than one place at once. When No, a new sign-in ends the person's other sessions. |

## Access

<!-- source: platform/data/ApplicationProperty -->
<!-- code: servicely-core SecurityDefaultPropertyInstallTask, ValidateSecurityLogRetention, 2027.1.10 -->
| Setting | Property | Default | Effect |
| --- | --- | --- | --- |
| Basic authentication | `system.auth.basic.enable` | No | Accepts Basic authentication on API calls. |
| Bearer authentication | `system.auth.bearer.enable` | Yes | Accepts bearer tokens on API calls. |
| LDAP authentication | `system.auth.ldap.enable` | Yes | Signs people in against an external LDAP directory. |
| Allow support access | `system.security.support.access.allowed` | Yes | Lets Servicely Support access this instance. |
| Security log retention (days) | `system.security.logs.retention.days` | 30 | How long security log entries are kept. The lowest value is 30. |
| Content Security Policy | `system.security.content_security_policy` | A policy Servicely supplies | The Content-Security-Policy header sent with every page. |

## Properties with no setting

Set these in the property list, under **Applications & licensing → Applications → Application properties**. A property marked "No record" has no record on a new instance. Create it with the key shown. See [Application properties](page:platform/applications-and-licences/application-properties).

<!-- code: servicely-core ApplicationPropertyKey.java, 2027.1.10 -->
| Property | Default | Effect |
| --- | --- | --- |
| `system.impersonation.disabled` | false. No record. | When true, nobody can impersonate another user. See [Impersonate a user](page:access/roles-and-permissions/impersonate-a-user). |
| `system.security.admin_escalation.enabled` | false. No record. | When true, holders of `administrator` work without the role until they select **Escalate privileges** in the user menu. **Drop privileges** or the end of the session returns them to normal. |
| `system.security.step_up.admin_escalation.enabled` | true. No record. | Before **Escalate privileges**, the user verifies with a passkey or an authenticator app. |
| `system.security.step_up.sensitive_approval.enabled` | true. No record. | Before approving or rejecting an approval marked as needing identity verification, the approver verifies with a passkey or an authenticator app. |
| `system.security.step_up.verification_ttl_seconds` | 300. No record. | How long a verification stays usable for the action it was made for, in seconds. |
| `system.security.webauthn.rp_id` | Empty. No record. | The domain passkeys are bound to. Empty uses the host of the instance's base URL. Changing it invalidates every passkey registered under the earlier value. |
| `system.security.webauthn.allowed_origins` | Empty. No record. | Origins a passkey sign-in can come from, separated by commas. Empty allows only the origin of the instance's base URL. |
| `system.password.reset.request.cooldown.minutes` | 5. No record. | How long an account waits after one reset link before it can be sent another. 0 removes the wait. |
| `system.password.reset.request.max_per_address` | 30. No record. | How many reset requests one client address can make, across all users, in the period the next property sets. 0 removes the limit. |
| `system.password.reset.request.address_window.minutes` | 15. No record. | The period the address limit counts over, in minutes. |
| `system.auth.bearer.token.url.enable` | false. No record. | When true, an API call can carry its bearer token in the URL. |
| `system.http.client.disable.ssl.validation.allowed` | false. No record. | When true, integrations can turn off SSL certificate validation on outbound calls. |

## Upload settings

These settings are under **System & deployment → General settings → Upload settings** in the Administration workspace. The headings follow its tabs.

### Upload

<!-- source: platform/data/PropertySetProperty?SetName=UploadSettings, 2027.1.10 -->
| Setting | Property | Default | Effect |
| --- | --- | --- | --- |
| Upload permitted | `system.upload.permitted` | Yes | When No, Servicely stores no file that arrives other than from a user, such as an email attachment. |
| Role required | `system.upload.role_required` | Empty | A role a user needs to upload files. Empty means no role is needed. |
| Accept | `system.upload.accept` | Common image, document, spreadsheet, presentation, text, ZIP, email and MP4 types | The MIME types and file suffixes upload fields accept, separated by commas. Empty accepts every type. A field can narrow the list with its own `accept` property. |
| Reject | `system.upload.reject` | Executable, script, installer, macro-enabled document and archive suffixes | The MIME types and file suffixes upload fields reject, separated by commas. Empty rejects nothing. A field can add to the list with its own `reject` property. |
| Check upload spoofing | `system.upload.spoofing.check` | Yes | Rejects a file whose content does not match its declared type, or whose suffix does not fit that type. |
| Spoofing equivalent types | `system.upload.spoofing.equivalent.types` | Groups for ZIP, XML, WAV and spreadsheet types | Groups of content types that count as the same type in the spoofing check. |

### Download

| Setting | Property | Default | Effect |
| --- | --- | --- | --- |
| Download always | `system.download.always` | `application/pdf, application/octet-stream` | MIME types the browser always downloads and never displays. |
| Download PDF always remove JavaScript | `system.download.pdf_remove_javascript` | Yes | Removes JavaScript from a PDF that Servicely displays in the browser. A PDF saved to disk keeps it. |

### Attachment

<!-- code: servicely-core AbstractApplicationPropertyManager.getUploadFileSizeLimit, mail/SystemEmailAttachment.kt, 2027.1.10 -->
| Setting | Property | Default | Effect |
| --- | --- | --- | --- |
| Upload limit | `system.upload.limit` | 10485760 | The largest file Servicely stores, in bytes. The default is 10 MB and the highest value that applies is 100 MB. |
| Minimum attachment size | `system.minimum_attachment_file_size_limit` | 0 | Servicely discards an email attachment smaller than this, in bytes. |

## Related

- [Change security settings](page:access/sign-in/security-settings)
- [Enforce two-factor authentication](page:access/sign-in/two-factor-authentication)
- [Configure password reset](page:access/sign-in/configure-password-reset)
- [Application properties](page:platform/applications-and-licences/application-properties)
- [Impersonate a user](page:access/roles-and-permissions/impersonate-a-user)
