Skip to main content

Set Bucket Permissions

IMPORTANT TO KNOW

After creating storage bucket, it is necessary to setup Permissions to restrict unauthorized access to that storage bucket and its files or folders.

Permissions setup:

  • Selet the storage bucket. For example AUDIO_FILES.
  • On top left. you can see the 3 tabs. Click on Settings tab.
  • Inside Permissions section, remove all default roles as we will setup our own
  • Now click on Add role button and then click on "ANY" option.
    • Check mark only READ permission. (We only need this).
    • Leave blank rest permissions like CREATE, UPDATE and DELETE.
  • Now again click on Add role button and then click on "All users" option.
    • Check mark all of the permissions.
  • Click on update button.
  • THATS'it.

Reference Image to understand well

Appwrite Logo