Public Member Functions | Static Public Member Functions | Protected Attributes

S3CannedACL Class Reference

An Enumeration of all possible CannedACLs that can be used for S3 Buckets or S3 Objects. More...

#import <S3CannedACL.h>

List of all members.

Public Member Functions

(id) - initWithStringValue:

Static Public Member Functions

(S3CannedACL *) + private
 Owner gets FULL_CONTROL.
(S3CannedACL *) + publicRead
 Owner gets FULL_CONTROL and the anonymous principal is granted READ access.
(S3CannedACL *) + publicReadWrite
 Owner gets FULL_CONTROL, the anonymous principal is granted READ and WRITE access.
(S3CannedACL *) + authenticatedRead
 Owner gets FULL_CONTROL, and any principal authenticated as a registered Amazon S3 user is granted READ access.
(S3CannedACL *) + bucketOwnerRead
 Object Owner gets FULL_CONTROL, Bucket Owner gets READ.
(S3CannedACL *) + bucketOwnerFullControl
 Object Owner gets FULL_CONTROL, Bucket Owner gets FULL_CONTROL.

Protected Attributes

NSString * stringValue

Detailed Description

An Enumeration of all possible CannedACLs that can be used for S3 Buckets or S3 Objects.

See also:
http://docs.amazonwebservices.com/AmazonS3/latest/RESTAccessPolicy.html#RESTCannedAccessPolicies

Member Function Documentation

+ (S3CannedACL * S3CannedACL.)bucketOwnerFullControl  

Object Owner gets FULL_CONTROL, Bucket Owner gets FULL_CONTROL.

This ACL applies only to objects and is equivalent to private when used with PUT Bucket. You use this ACL to let someone other than the bucket owner write content (get full control) in the bucket but still grant the bucket owner full rights over the objects.

+ (S3CannedACL * S3CannedACL.)bucketOwnerRead  

Object Owner gets FULL_CONTROL, Bucket Owner gets READ.

This ACL applies only to objects and is equivalent to private when used with PUT Bucket. You use this ACL to let someone other than the bucket owner write content (get full control) in the bucket but still grant the bucket owner read access to the objects.

+ (S3CannedACL * S3CannedACL.)private  

Owner gets FULL_CONTROL.

No one else has access rights (default).

+ (S3CannedACL * S3CannedACL.)publicRead  

Owner gets FULL_CONTROL and the anonymous principal is granted READ access.

If this policy is used on an object, it can be read from a browser with no authentication.


The documentation for this class was generated from the following file: