You can set the access control list (ACL) when you create a bucket, or modify the ACL for a created bucket. Only bucket owners can set or modify the ACL for buckets.

The following table describes the three types of ACLs for buckets.

ACL Description Description
public-read-write Public read/write Anyone (including anonymous users) can read and write the objects in the bucket.
Warning All Internet users can access the objects in the bucket and write data to the bucket. This may cause unexpected access to the data in your bucket, and cause an increase in your fees. If a user uploads prohibited data or information, it may affect your legitimate interests and rights. Therefore, we recommend that you do not set your bucket ACL to Public Read/Write except in special cases.
public-read Public read Only the bucket owner can perform write operations on the objects in the bucket. Other users (including anonymous users) can perform only read operations on the objects in the bucket.
Warning All Internet users can access the objects in the bucket. This configuration may cause unwanted access to the data in your bucket, and cause an increase in your fees. Therefore, we recommend that you exercise caution when you set your bucket ACL to Public Read.
private Private Only the bucket owner can perform read and write operations on the objects in the bucket. Other users have no access to the objects in the bucket.

Implementation modes

Implementation mode Description
Console A user-friendly and intuitive web application
ossbrowser An easy-to-operate graphical tool
ossutil A high-performance command-line tool
Java SDK SDK demos for various programming languages
Python SDK
PHP SDK
Go SDK
C SDK
.NET SDK
Node.js SDK
Ruby SDK