Platform Architecture Modules Developers Security Integrations Articles
Security Architecture

Security by Design.

A technical overview of defensive engineering in the Alegor Platform: default-deny authorization, tenant boundaries, immutable auditing, and cryptographic validation.

01 / Authentication

Identity & Credential Safety

Argon2id/Bcrypt password hashing with automatic rehash triggers. Native support for TOTP MFA, WebAuthn hardware tokens, and enterprise SAML 2.0 / OIDC federation.

02 / Authorization

Default-Deny RBAC & ABAC

Every resource and route requires explicit capability grants. Dynamic policies evaluate contextual attributes (IP, time, monetary thresholds) with zero implicit allowances.

03 / Data Isolation

Strict Tenant Boundaries

Global ORM query scopes automatically enforce tenant constraints at the repository level. Support for both pooled multi-tenant schemas and dedicated single-tenant VPC databases.

04 / Non-Repudiation

Append-Only Audit Logs

All state mutations generate immutable audit records with actor context, IP, and before/after diffs. Database user roles hold no UPDATE or DELETE grants on audit tables.

05 / Integrations

HMAC Signatures & Nonces

Inbound and outbound webhooks enforce SHA256 HMAC cryptographic signatures and timestamp nonces to mitigate replay attacks and payload spoofing.

06 / Governance

Dependency Management

Automated CI security audits (`composer audit`), locked lockfiles, minimal surface area third-party libraries, and continuous vulnerability monitoring.