Multi-tenant isolation as defense-in-depth: when WHERE owner_user_id isn't enough 0 ▲ chs.us — Carl Sampson 1 hour ago · Tech · hide · 0 comments Every query that returns user data filters by owner. That's the contract — and one forgotten WHERE clause leaks another tenant's data. Here's a second, automatic layer that fails closed, built on a SQLAlchemy do_orm_execute hook. No comments yet. Log in to reply on the Fediverse. Comments will appear here.