MOFAKH.COM
← Back to profile
SQL

Multi-tenant row filtering without leaking data

unwrittenOutline
Note to self
Not written yet. This is the outline I am working from — it will be filled in as I go through the topic.
  • Shared schema with TenantId vs schema-per-tenant vs database-per-tenant
  • EF Core global query filters and how they get bypassed
  • Composite indexes that always lead with TenantId
  • Testing the leak: what a missing filter looks like in a query plan