SupabaseS
Supabase2y ago
phil

Using Supabase in NextJS - Security

I am trying to figure out what are the best practices when using supabase in NextJS.
Currently in the schema public I have all my tables (with appropriate RLS rules).
Now the issue I see is anyone is able to see what tables we have which is not so nice (via the rest api url)

How does anyone else use Supabase? Do you just rely on RLS rules and allow all users to see what tables you have? Whats the best way to use Supabase data in a NextJS app.
Was this page helpful?