Setting Object Access Permission

Last updated: 2021-02-20 12:15:36

    Overview

    COS allows you to set object access permissions, which have a higher priority than that for buckets.

    Note:

    • Object access permissions take effect only when the access is made via the default endpoint. For any access made via a CDN acceleration endpoint or a custom endpoint, bucket access permissions will take effect.
    • There are limits on the number of ACL rules. For more information, please see Specifications and Limits.

    Directions

    1. Log in to the COS console and click Bucket List in the left sidebar to enter the bucket list page.
    2. Find the bucket where the target object is located and click the bucket name to enter the bucket details page.
    3. Choose the File List tab, find the object for which you want to configure the access permission, and click Details on the right to enter the file details page (If it is a folder, click Permissions on the right).
    4. In the Object ACL area, configure ACL as needed (for example, grant a sub-account the object permissions). Sub-account ID can be found in the CAM console. COS supports two types of permissions for objects:
      -Public Permissions: includes Inherit, Private Read/Write, and Public Read/Private Write. For more information about public permissions, please see Access Permission Types.
      -User ACL: The root account has all object permissions (full control) by default. You can also add sub-accounts and grant them permissions including read/write, read/write ACL, and even full control.
    5. Click Save.
    6. If you need to configure or modify access permissions for multiple objects at a time, you can select the objects on the File List page and then click More Actions > Modify Access Permission.