AccessPolicy Property
The canned access policy to apply when uploading objects.
Data Type
EnumerationPossible Values
Private (0)Public Read (1)
Public Read Write (2)
Authenticated Read (3)
Bucket Owner Read (4)
Bucket Owner Full Control (5)
None (6)
Default Value
0Remarks
This property specifies what canned access policy should be applied to newly-created objects. Valid values are:
ptPrivate (0) (default) | Owner gets full control, no one else has access. |
ptPublicRead (1) | Owner gets full control, everyone else gets read access. |
ptPublicReadWrite (2) | Owner gets full control, everyone else gets read/write access. |
ptAuthenticatedRead (3) | Owner gets full control, authenticated users get read access. |
ptBucketOwnerRead (4) | Only applicable for objects. Object owner gets full control, bucket owner gets read access. |
ptBucketOwnerFullControl (5) | Only applicable for objects. Both object and bucket owner get full control. |
ptNone (6) | (Instructs the adapter to not explicitly set a canned access policy for a bucket or object.) |
This property is not available in the Receiver.