{% extends "layouts/app.html" %} {% from "components/breadcrumb.html" import page_header %} {% from "components/button.html" import button %} {% block title %}Security Policies - NeoZen Admin{% endblock %} {% block page_header %} {% call page_header("Security Policies", subtitle="Configure authentication and security settings", breadcrumbs=[{"label": "Security", "href": "/security"}, {"label": "Policies"}]) %}
{{ button("Back to Dashboard", variant="secondary", href="/security") }}
{% endcall %} {% endblock %} {% block content %}

Password Requirements

Recommended: 12+ characters

Required Character Types

Set to 0 to disable password expiry

Number of previous passwords to remember

Uses Have I Been Pwned API (k-anonymity, secure)

Session Settings

Maximum session lifetime

Session expires after inactivity

Session Security

Logging in terminates other active sessions

Session invalidated if IP changes

Generate new token on each request

Per user limit

Multi-Factor Authentication

Allowed MFA Methods

Google Authenticator, Authy, etc.

Hardware keys, biometrics, platform authenticators

One-time backup codes for account recovery

Number of recovery codes to generate

Account Lockout Settings

Lock accounts after failed login attempts

Lockout Options

Increase delay between attempts exponentially

Send email when account is locked

Alert administrators when accounts are locked

IP-based Rate Limiting

Limit login attempts per IP address

Policy Changes

Changes to security policies take effect immediately for new sessions. Existing sessions are not affected until they expire or are regenerated.

{% endblock %}