> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.kodelabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Security Settings

> Configure MFA, password policies, and session timeouts

Security settings give administrators control over authentication, password policies, and session behavior. All configuration lives under `Security Settings`.

## Configuration

Authentication & Security covers three areas—MFA, Password, and Timeout Settings. Each area groups related controls that you can configure independently.

<Tabs>
  <Tab title="MFA">
    Multi-factor authentication (MFA) adds a second layer of verification beyond a password. You can choose whether to enforce MFA for your organization and configure how frequently users verify their identity.

    <Frame caption="The MFA tab controls enforcement and frequency options for multi-factor authentication">
      <img src="https://mintcdn.com/kodelabs/QV43LEddE2aJcRYU/images/launchpad/launchpad-client-org-security-mfa.png?fit=max&auto=format&n=QV43LEddE2aJcRYU&q=85&s=8ae8e807fff61e7c869d219474d52478" alt="MFA settings showing enforcement options and frequency choices including every login, 7-day remember, and 30-day remember" width="1024" height="598" data-path="images/launchpad/launchpad-client-org-security-mfa.png" />
    </Frame>

    ### Enforcement

    <ParamField path="Don't enforce" type="Option">
      MFA is optional for all users.
    </ParamField>

    <ParamField path="Enforce for Email & Password users" type="Option">
      Requires MFA for all users who sign in with an email address and password. SSO users follow their identity provider's MFA policies.
    </ParamField>

    ### Frequency Options

    Select which frequency options are available to users. Users choose how often they're prompted for MFA during login based on the options you enable.

    <ParamField path="Every login" type="Toggle">
      Users verify their identity on every login. Highest level of security.
    </ParamField>

    <ParamField path="Remember 7 days on known device" type="Toggle">
      Users aren't prompted for MFA again for 7 days on a recognized device.
    </ParamField>

    <ParamField path="Remember 30 days on known device" type="Toggle">
      Users aren't prompted for MFA again for 30 days on a recognized device.
    </ParamField>
  </Tab>

  <Tab title="Password">
    Password settings let you define complexity requirements, configure lockout behavior after failed login attempts, and set additional password management rules.

    <Frame caption="The Password tab covers complexity levels, lockout settings, and password history configuration">
      <img src="https://mintcdn.com/kodelabs/QV43LEddE2aJcRYU/images/launchpad/launchpad-client-org-security-password.png?fit=max&auto=format&n=QV43LEddE2aJcRYU&q=85&s=4a1e0ed98ae62124dadb3036d89b163c" alt="Password settings showing Medium complexity selected with requirements, lockout settings of 1 hour and 3 retries, and password history and expiration toggles" width="811" height="834" data-path="images/launchpad/launchpad-client-org-security-password.png" />
    </Frame>

    ### Password Complexity

    <ParamField path="Medium" type="Option">
      Passwords must be at least 8 characters and include 1 digit, 1 uppercase letter, 1 lowercase letter, and 1 special character. KODE also rejects commonly used passwords.
    </ParamField>

    <ParamField path="High" type="Option">
      Passwords must be at least 12 characters and include 1 digit, 1 uppercase letter, 1 lowercase letter, and 1 special character. High complexity also disallows consecutive characters.
    </ParamField>

    <ParamField path="Custom" type="Option">
      Define your own complexity rules to match your organization's security policies. Custom rules can include lowercase requirements and non-consecutive character rules.
    </ParamField>

    ### Lockout Settings

    <ParamField path="Lockout time" type="Field">
      How long an account stays locked after reaching the maximum failed login attempts. Defaults to `1`.
    </ParamField>

    <ParamField path="Lockout unit" type="Field">
      The unit of time for the lockout duration. Defaults to `Hours`.
    </ParamField>

    <ParamField path="Retries before lockout" type="Field">
      The number of failed login attempts allowed before the account locks. Defaults to `3`.
    </ParamField>

    ### Password Configuration

    <ParamField path="Password history" type="Toggle">
      When enabled, users can't reuse recent passwords.
    </ParamField>

    <ParamField path="Password expire time" type="Toggle">
      When enabled, passwords expire after a set number of days. Defaults to `90` days.
    </ParamField>
  </Tab>

  <Tab title="Timeout Settings">
    Timeout settings control how long user sessions remain active before requiring sign-in again.

    <Frame caption="The Timeout Settings tab configures session and idle timeout durations">
      <img src="https://mintcdn.com/kodelabs/QV43LEddE2aJcRYU/images/launchpad/launchpad-client-org-security-timeout.png?fit=max&auto=format&n=QV43LEddE2aJcRYU&q=85&s=2743bbf68cbbd0e6f2760272c14ba0c7" alt="Timeout settings showing session timeout of 14 days and idle timeout of 1 day" width="805" height="495" data-path="images/launchpad/launchpad-client-org-security-timeout.png" />
    </Frame>

    <ParamField path="Session Timeout" type="Field">
      How long a session can stay active before the user is automatically signed out. Defaults to `14` days.
    </ParamField>

    <ParamField path="Idle Timeout" type="Field">
      How long a session can stay idle before it's automatically terminated. Defaults to `1` day.
    </ParamField>
  </Tab>
</Tabs>
