Hey everyone,
I’m confused on how security works in prisma. With supabase for example, I can setup row level security policies to protect my tables. With prisma is there anything like that? I know that you can use WHERE to select from specific rows, is that all that’s required? I basically want to use prisma and push my migrations to supabase.
#How does security work in prisma?
4 messages · Page 1 of 1 (latest)
Hi
Prisma's job isn't really the same than Supabase. You can execute sql from client side with Supabase, but can't with Prisma
So to secure your api, simply create the security on your backend
Ah okay I see thank you