The OSS provides an Access Control List (ACL) for permission control. You can configure an ACL when creating a bucket and modify the ACL after creating the bucket. If no ACL is configured, the default value is Private.
The OSS ACL provides bucket-level access control. Currently, three access permissions are available for a bucket:
- Private: Only the owner of the bucket can perform read/write operations on the files in the bucket. Other people cannot access the files.
- Public Read: Only the owner of the bucket can perform write operations on the files in the bucket, while anyone (including anonymous users) can perform read operations on the files.
- Public Read/Write: Anyone (including anonymous users) can perform read and write operations on the files in the bucket. The fees incurred by these operations will be borne by the owner of the bucket. Use this permission with caution.
Go to the OSS console.
Select a bucket to open the Bucket Overview page.
In the left-side navigation pane, select Bucket Settings > ACL.
In the Read and Write Permissions drop-down list, select an access permission option for the bucket.
Click Set to save the setting.