Public Supabase Storage buckets can expose private user files to anyone with a link
A DEV Community post warns that Supabase Storage buckets marked Public let anyone with a file's URL download it. This is acceptable for non-sensitive assets like logos but risky for invoices, IDs, or private photos. The author advises checking each bucket's Public label in the Supabase dashboard. For private data, buckets should be made private, access governed by policies on storage.objects, and expiring signed URLs used. The post also promotes a SniffPup scanning service for finding other exposed areas of an app.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in