AccessPolicy Property
The AccessPolicy are used to set permissions when a Bucket or an object is updated.
Syntax
int GetAccessPolicy();
int SetAccessPolicy(int iAccessPolicy);
Possible Values
PT_PRIVATE(0), PT_PUBLIC_READ(1), PT_PUBLIC_READ_WRITE(2), PT_AUTHENTICATED_READ(3), PT_BUCKET_OWNER_READ(4), PT_BUCKET_OWNER_FULL_CONTROL(5)
Default Value
0
Remarks
Amazon S3 allows buckets and objects to be publicly accessible, this can be achieved by setting a suitable AccessPolicy.
Data Type
Integer