Tenant Guard
AuthzKit Tenant Guard provides automatic multi-tenant security for Prisma applications, making cross-tenant data violations impossible by construction.
Comprehensive Documentation Available
For complete Tenant Guard documentation, installation guides, examples, and advanced features, visit the dedicated Tenant Guard section.
Quick Overview
AuthzKit Tenant Guard enforces hard tenant isolation across every nested mutation. Key features include:
- Zero boilerplate - No manual tenant validation code required
- Automatic protection - Validates all nested operations recursively
- Production performance - Sub-millisecond validation overhead
- Complete coverage - Handles connects, creates, updates, deletes
Get Started
- Installation - Detailed setup instructions
- Quick Start - Get running in 5 minutes
- How It Works - Understanding how AuthzKit works
- Examples - See it in action
Quick Install
bash
pnpm add @authzkit/prisma-tenant-guard
bash
npm install @authzkit/prisma-tenant-guard
bash
yarn add @authzkit/prisma-tenant-guard
bash
bun add @authzkit/prisma-tenant-guard
Next Steps
Visit the comprehensive Tenant Guard documentation for:
- Installation Guide - Complete setup instructions for all frameworks
- Quick Start - Get running in under 5 minutes
- How It Works - Deep dive into how protection works
- Configuration - Advanced settings and modes
- Security Testing - Verify your protection works
- Migration Guide - Migrate existing applications
Why Tenant Guard?
Traditional multi-tenant applications require manual tenant validation in every database operation. AuthzKit Tenant Guard makes cross-tenant violations impossible by construction through automatic validation at the Prisma extension level.