tencent cloud

All product documents
Cloud Object Storage
Accessing COS Anonymously
Last updated: 2024-03-25 15:33:39
Accessing COS Anonymously
Last updated: 2024-03-25 15:33:39
COS buckets are private by default. Identity verification is required for any access to COS, and object URLs used to access COS must carry signature information. However, if resources (buckets, objects, and folders) are configured with the Public Read permission, anonymous access is allowed, and users can use object URLs to download resources directly.
According to the permission application scope, COS allows users to set the Public Read permission at the bucket, object, or folder level.

Setting the Permission of a Bucket to Public Read

If the permission of a bucket is set to Public Read/Private Write, all objects in the bucket can be accessed by anonymous users. For the setting method, see Setting Access Permission.

Setting the Permission of an Object to Public Read

If the permission of a specified object is set to Public Read/Private Write, the object can be accessed via the object URL. For the setting method, see Setting Object Access Permission.

Setting the Permission of a Folder to Public Read

If the permission of a folder is set to Public Read/Private Write, all files in the folder can be accessed by anonymous users. For the setting method, see Setting Folder Permissions.

Public Read Permission Evaluation Mechanism

For the COS permission evaluation mechanism, see Access Policy Evaluation Process. If the Public Read permission settings for buckets, folders, and objects conflict, the priorities are as follows:
The ACL of an object has the highest priority. If the ACL of an object is inherited, the ACL of the corresponding folder applies. If the ACL of a folder is inherited, the ACL of the corresponding bucket applies.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 available.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon