AccessPolicy Property
The AccessPolicy are used to set permissions when a Bucket or an object is updated.
Syntax
digitaloceancontrol.AccessPolicy[=integer]
Possible Values
ptPrivate(0), ptPublic_Read(1), ptPublic_Read_Write(2), ptAuthenticated_Read(3), ptBucket_Owner_Read(4), ptBucket_Owner_Full_Control(5), ptNone(6)
Default Value
0
Remarks
Buckets and objects can be configured to be publicly accessible by setting a suitable AccessPolicy.
Note: Setting AccessPolicy to ptNone (6) instructs the control to not explicitly set permissions when a Bucket or an object is updated.
Data Type
Integer