© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago
giancarlo

Multi-Tenant Architecture for Storage

Hello everyone! I'm building a multi-tenant architecture for files uploaded by groups of users (organizations, teams, etc.) and individual users.

For example:
- organizations can upload their logos (and can only be updated/read by users of the organization)
- users can upload their avatars (and can only be updated by users)

Would it be best to:
1. create a bucket for each organization with subfolders for each storage items category (logos, assets, etc.)
2. create a bucket for each item category, and control access using policies/RLS?
3. neither?

Thank you in advance!
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

multi tenant auth
SupabaseSSupabase / help-and-questions
5mo ago
Multi-tenant authentication
SupabaseSSupabase / help-and-questions
13mo ago
Multi tenant app. Headers
SupabaseSSupabase / help-and-questions
4mo ago
Clarification on Multi-Database Support for Microservices Architecture
SupabaseSSupabase / help-and-questions
3w ago