Skip to content
Loanship
Trust & Architecture

Enterprise Security & Multi-Tenant Architecture

Built by Nice Notions LLC for institutional wholesale mortgage lenders. Designed to be shared directly with lender IT, infosec, and vendor-risk management teams.

Entity: Nice Notions LLC Effective: December 4, 2026 Doc: NN-SEC-ARCH-2026.1

Database Isolation

Tier-1 & Tier-2 PostgreSQL RLS

Mandatory database-enforced Row-Level Security tenant predicates on every query, with dedicated database/schema tiering available for institutional isolation requirements.

Identity & Access

Microsoft Entra SSO + Duo MFA

Enterprise SAML 2.0 / OIDC identity federation paired with phishing-resistant MFA and strict role-based separation across AEs, brokers, borrowers, and admins.

Private Cloud Networking

Azure Private VNet Data Plane

PostgreSQL and internal services operate inside private Azure virtual networks using Private Endpoints with zero public database internet exposure.

Integrity & AI Boundaries

Hash-Chained Logs & Zero AI Training

Cryptographically chained append-only audit ledgers combined with strict zero-training boundaries ensuring borrower PII is never used to train third-party AI models.

Defense-in-Depth Topology

Multi-Tenant Request & Isolation Boundary Model

*.loanship.ai → Azure Private VNet
01 / EDGE & IDENTITY TLS 1.3 + Edge WAF *.loanship.ai ingress Microsoft Entra SSO SAML 2.0 / OIDC Duo Security MFA 02 / TENANT COMPUTE PLANE Tenant Context Resolver SET LOCAL app.tenant_id Deterministic Rules Engine Versioned overlays & pricing AI Structuring Guardrail Zero PII third-party training 03 / AZURE PRIVATE VNET (NO PUBLIC IP) PostgreSQL Data Plane (AES-256) TIER-1 RLS Forced row policies TIER-2 ISOLATED Dedicated DB / schema Tamper-Evident Audit Ledger H(n) = SHA-256(H(n-1) || event_payload) Append-only · Cryptographically verifiable

1. Security Architecture Overview

Wholesale mortgage origination handles highly sensitive financial records, proprietary lender rate sheets, and regulated borrower non-public personal information (NPPI). Nice Notions LLC designed the Loanship architecture around defense-in-depth: security controls are enforced independently at the network boundary, identity provider, application context, database engine, and audit ledger so that no single control is relied upon in isolation.

2. Multi-Tenant Isolation: Tier-1 & Tier-2 PostgreSQL RLS

Loanship serves each wholesale lender on a dedicated tenant context (for example, lender.loanship.ai) backed by a two-tier PostgreSQL isolation model designed to match institutional risk profiles:

Tier-1 Isolation — Mandatory PostgreSQL Row-Level Security (RLS)

  • Every tenant-owned table enforces PostgreSQL ENABLE ROW LEVEL SECURITY and FORCE ROW LEVEL SECURITY policies evaluated directly by the database engine.
  • Application database connections execute under a non-superuser role that cannot bypass RLS policies. At the start of every transaction, the request middleware binds the verified tenant identifier via transaction-scoped session parameters (SET LOCAL), guaranteeing that connection pooling never leaks tenant context across requests.
  • Even in the hypothetical event of an application-layer query omission, PostgreSQL refuses to return or mutate rows outside the bound tenant scope.

Tier-2 Isolation — Dedicated Database / Schema Partitioning

  • For institutional wholesale lenders with contractual or internal policy mandates requiring physical or logical database separation, Loanship supports Tier-2 deployments using dedicated per-tenant PostgreSQL databases (or dedicated Azure Flexible Server instances) with isolated credentials, backup sets, and key boundaries — while retaining RLS enforcement inside the tenant database as a second line of defense.

3. Identity, Authentication & Access Control

  • Microsoft Entra ID Single Sign-On (SSO): Enterprise lender staff and account executives authenticate via SAML 2.0 / OpenID Connect federated directly to the lender's Microsoft Entra ID directory, supporting centralized provisioning, conditional access policies, and immediate offboarding.
  • Duo Multi-Factor Authentication (MFA): Privileged administrative access and configured lender workflows enforce strong multi-factor authentication via Duo Security (push verification, hardware security keys / WebAuthn, and phishing-resistant policies).
  • Least-Privilege RBAC: Distinct permission boundaries separate Wholesale Tenant Administrators, Secondary/Pricing Managers, Account Executives, External Brokers, and Borrowers. Platform operations follow least-privilege, audited break-glass procedures with zero shared operator credentials.
  • Session Hygiene: Short-lived, cryptographically signed tokens, strict cookie flags (HttpOnly, Secure, SameSite), and automatic idle session expiration.

4. Cloud & Network Isolation (Azure Private VNet)

  • Private Data Plane: PostgreSQL databases, private document storage, and internal service dependencies are deployed inside Azure Private Virtual Networks (VNets) accessed exclusively through Azure Private Endpoints. Public network access to database instances is disabled.
  • Segmented Subnets & NSGs: Ingress, application compute, and data subnets are segmented with deny-by-default Network Security Groups (NSGs) allowing only explicitly authorized ports and service paths.
  • Edge Protection: Public web endpoints sit behind Cloudflare edge TLS termination, DDoS mitigation, strict HTTP security headers (HSTS preload, CSP, X-Frame-Options: DENY, nosniff), and rate limiting.

5. Tamper-Evident Hash-Chained Audit Logs

Institutional lending requires verifiable proof of who evaluated a scenario, which lender guideline version was active, and when conditions or portal milestones changed. Loanship maintains an append-only, cryptographically linked audit trail:

  • Cryptographic Chaining: Each audit record computes a SHA-256 digest over its canonical event payload (actor identity, tenant ID, timestamp, action type, and entity reference) concatenated with the preceding record's digest.
  • Tamper Detection: Any unauthorized modification, deletion, or reordering of historical audit rows breaks downstream chain verification immediately.
  • Exportability for Examinations: Lender compliance teams can export scoped audit histories and chain verification proofs to support internal audit, investor due diligence, and regulatory examinations.

6. AI Governance & Zero Third-Party Model Training

Loanship separates deterministic mortgage math from generative advisory assistance:

  • Deterministic Core First: Rate-sheet adjustments, eligibility matrices, and lender overlays are executed by deterministic code — never delegated to probabilistic models.
  • Zero Third-Party Model Training on Borrower PII: Neither borrower personally identifiable information nor proprietary lender rate sheets/guidelines are ever permitted to train or improve third-party foundation models.
  • Structured Redaction & Enterprise Endpoints: AI Structuring Coach calls strip direct borrower identifiers whenever unnecessary and route strictly over enterprise API tiers configured with zero-training and minimal-retention guarantees.

7. Encryption, Secrets & Application Security

  • Encryption in Transit: All external and internal service-to-service traffic is encrypted with TLS 1.2+ (TLS 1.3 preferred) and HSTS enforced across loanship.ai and all *.loanship.ai subdomains.
  • Encryption at Rest: Databases, automated backups, and document object stores are encrypted at rest using AES-256 with managed key storage and scheduled key rotation.
  • Secret Management: Application secrets and API credentials are stored in managed cloud key vaults, never committed to source control, and scoped per environment.
  • Transactional SMS Isolation: Where enabled, opt-in MFA and loan alert SMS flows are delivered via isolated transactional APIs without sharing mobile numbers or opt-in consent for promotional purposes.

8. Institutional Lender IT & Security Review

Wholesale lender security, compliance, and vendor-management teams evaluating Loanship can request a technical architecture walkthrough, subprocessor list, and questionnaire responses directly from Nice Notions LLC.

Security & Vendor Risk Desk — Nice Notions LLC

To initiate an institutional security review or report a potential vulnerability responsibly, contact our security team directly.