rising3월 19일· 2 sources

We Built Multi-Tenancy Into a Blazor App. Here's Every Layer Preventing Data Leaks.

Blazor 앱에 멀티 테넌시를 구축한 방법: 데이터 유출을 막는 모든 계층 설계

Why it matters

After a data leak incident in a multi-tenant Blazor app caused by a missing query filter, the team rebuilt the entire multi-tenancy layer with four isolation layers: middleware-based tenant resolution, EF Core global query filters, SaveChanges tenant stamping, and JWT claim validation. The architecture ensures no single point of failure by using a priority chain (JWT claims, headers, domain) for tenant resolution and AsyncLocal-based TenantContext, all built into the BlazorBluePrint template.

2
Sources
+0
24h
Growth
185d
Active
blazorblazor serverblazorblueprintef corefluentvalidationjwtmaster-detailmudblazormulti-tenancyquery filterrepository pattern

Sources

Related Issues