Bucket ACLs are used to control basic read and write access permissions for buckets. Custom settings of bucket policies support more actions that can be performed on buckets. Bucket policies, supplements to bucket ACLs, can replace the bucket ACL to manage the access permissions of a bucket, except granting permissions to the log delivery user. Table 1 shows the mapping between bucket ACL access permissions and bucket policy actions.
ACL Permission |
Option |
Mapped Action in a Custom Bucket Policy |
---|---|---|
Access to bucket |
Read |
|
Write |
|
|
Access to ACL |
Read |
GetBucketAcl |
Write |
PutBucketAcl |
Object ACLs are used to control basic read and write access permissions for objects. The custom settings of bucket policies support more actions that can be performed on objects. Table 2 describes the mapping relationship between object ACL access permissions and bucket policy actions.
When objects are uploaded to a bucket, object ACLs are set for those objects. When the bucket policy is modified, ACLs of the objects do not change. However, ACLs of newly uploaded objects will be the default setting, and will not inherit the object ACL rule set by existing objects.