© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
2 replies
Julien

Restrict visibility of fields

Is it possible to make a field of a public table entry private if the user making the query is not the owner of the entry?

For example, I wrote profile table { username, password } and I want everyone to be able to fetch { username } (without password) except for the owner himself that can retrieve { username, password }.

Is it possible ? If yes, how ?
Thanks for helping
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

Restrict number of returning items
SupabaseSSupabase / help-and-questions
4y ago
Restrict columns with RLS
SupabaseSSupabase / help-and-questions
3mo ago
Using views to restrict access.
SupabaseSSupabase / help-and-questions
13mo ago
Restrict signups to only service_role
SupabaseSSupabase / help-and-questions
4y ago