Storage

Policies

You have to set policies on Storage.

  • everything is accessible by default when project is initialized.

Security

RLS setup

By default, Storage does not allow any uploads to buckets without RLS policies.

Under configurations > policy.

Querying

response = supabase.storage.from_('avatars').download('public/avatar1.png')