Set bucket read and write permissions

Last Updated: May 14, 2018

When creating a bucket, the bucket owner can set the read and write permissions for the bucket using the Access Control List (ACL). After a bucket is created, the bucket owner can modify the bucket ACL according to business requirements. Currently, three access permissions are available for a bucket:

Permission Access restriction
public-read-write Anyone (including anonymous users) can perform read and write operations on the objects stored in the bucket. The fees incurred by these operations are borne by the bucket owner. Use this permission with caution.
public-read Only the bucket owner and authorized users can perform write operations on the objects stored in the bucket. Others (including anonymous users) can perform read operations on the objects.
private Only the bucket owner and authorized users can perform read and write operations on the objects stored in the bucket. Others cannot access the objects in the bucket without authorization.

For more information about , see Access control.

Reference

Set bucket ACL:

Get bucket ACL:

  • Console: After logging on to the OSS console, view the ACL on the Basic Settings tab page.
  • SDK: Java SDK - Get bucket ACL
  • API: GetBucketACL
Thank you! We've received your feedback.