© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
4 replies
50BytesOfJohn

Allow RPC only for RLS query

Hey, another question from my side. I'm using postgres function to check something in rls. But this function can be also called by client side user. Is there a way to allow running this function only server? And block it to run from client side?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Passing variables to RPC for RLS
SupabaseSSupabase / help-and-questions
3y ago
Supabase security strategy: RLS + RPC functions only — good idea?
SupabaseSSupabase / help-and-questions
4mo ago
Can I only allow viewing some columns in RLS?
SupabaseSSupabase / help-and-questions
4y ago
RLS Query referenced tables
SupabaseSSupabase / help-and-questions
3y ago