All Questions



Is there a way to implement column level policy in Supabase?

I have a table and each row has few columns but one of the columns should stay protected and not be exposed to client.

Is it possible?

author Dobroslav Radosavljevič

Reply
3 Answers

I have never worked with Supabase… Maybe Kirill Rogovoy?

writen by Tiago Ferreira

Me neither. I’ve asked who used it just a few days ago. 😊

writen by Kirill Rogovoy

If you do not include the column in your query, then it won’t be exposed to the client. However, if you’d like some extra security to encrypt a sensitive column, then you can use pgcrypto. Here’s a brief thread on it: https://github.com/supabase/supabase/discussions/627

writen by James Schwindt

Do you want to ask a question?


Related Questions