Prisma is launching an Early Access program for security rules in Prisma Postgres, enabling frontend apps to query the database directly without exposing secrets. Developers can define fine-grained permission rules in TypeScript, deploy them via the Prisma CLI, and use a new browser-compatible AuthorizedClient to access data securely from React, Vue, Svelte, or any frontend framework — eliminating the need for an API layer in simpler use cases.
Table of contents
Talking to your database from the frontendIntroducing: Security rules in Prisma Postgres (Early Access)How to define and enforce security rulesJoin the private Early Access program3 Impressions