S3 directUpload Control : Access Control List?

Dec 10, 2008 at 10:59 PM
I need to add specific users to have Full Control rights to the file I upload to the bucket. In the free, proxy version of the component there was an AccessControlList node within the adapter and a object that could be added to server side. This seems to be omitted from the current Direct component. The help file does not mention this either.

e.g. client side (old version)
   <fjxau:AccessControl URI="http://acs.amazonaws.com/groups/global/AllUsers" Permission="READ" />
e.g. server side
com.flajaxian.DirectAmazonUploader DAU= (com.flajaxian.DirectAmazonUploader)fjxUpload.Adapters[0];
DAU.BucketName = s3c.bucketReference;

com.flajaxian.AWS.AccessControl ac = new AccessControl();
ac.DisplayName = "fastEncoding";
ac.ID = "1a85ad8fea02b4d948b962948f69972a72da6bed800a7e9ca7d0b43dc61d5869";
ac.Permission = flajaxian.AWS.Permission.FULL_CONTROL;


Your help would be greatly received,

Many thanks,

Dec 10, 2008 at 11:34 PM

The control allowes the values allowed to be defined with direct post request by Amazon. More information can be found here:

Click on HTML Form Fields and read acl

Here is how you specify these permissions

May be you need FileAccess="AuthenticatedRead"? More precise ALC definition would require using server as proxy.

Dec 11, 2008 at 12:22 AM
I see the acl field in the amazon examples, but I can't see how it is referred to when using the S3Direct Upload component. There is only the FileAccess attribute, which is too general, or the XAmzMetaUuid parameter which adds Metadata.
Dec 11, 2008 at 12:56 AM
The four values passed to FileAccess as Private, PublicRead, PublicReadWrite or AuthenticatedRead are the only values allowed by Amazon with direct (not DIME) post request. XAmzMetaUuid is used when validating the request it is not related to ALC