Type-Safe Row-Level Security with Multi-Tenant Isolation Modes

We present a multi-tenant database architecture with Row-Level Security (RLS) that uses type-safe Rust enums for policy expression evaluation, combined with three configurable isolation modes (SharedSchema, DatabasePerTenant, SchemaPerTenant). Our system features compile-time verified RLS expressions, thread-local tenant context management with RAII cleanup patterns, sliding window rate limiting for quota enforcement, and integrated Change Data Capture (CDC) for tenant migrationwith consistency verification. This architecture enables secure multi-tenant deployments with flexible isolation strategies while maintaining type safety throughout the RLS evaluation pipeline.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-03-27
DOI
https://doi.org/10.5281/zenodo.19244014
Primary Topic
Security and Verification in Computing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Type-Safe Row-Level Security with Multi-Tenant Isolation Modes

Daniel Moya Vaca
Zenodo (CERN European Organization for Nuclear Research)
Security and Verification in Computing
article

Type-Safe Row-Level Security with Multi-Tenant Isolation Modes

Daniel Moya Vaca
article en

Abstract

We present a multi-tenant database architecture with Row-Level Security (RLS) that uses type-safe Rust enums for policy expression evaluation, combined with three configurable isolation modes (SharedSchema, DatabasePerTenant, SchemaPerTenant). Our system features compile-time verified RLS expressions, thread-local tenant context management with RAII cleanup patterns, sliding window rate limiting for quota enforcement, and integrated Change Data Capture (CDC) for tenant migrationwith consistency verification. This architecture enables secure multi-tenant deployments with flexible isolation strategies while maintaining type safety throughout the RLS evaluation pipeline.

Zenodo (CERN European Organization for Nuclear Research)
Reduced inequalities
Openalex Percentile: Top 6%
Security and Verification in Computing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Type-Safe Row-Level Security with Multi-Tenant Isolation Modes — Daniel Moya Vaca · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS