Developers Support Customer login
+1 800.513.1740

Setting permissions for encoded files sent to user's Amazon S3 bucket

9-2-2008 Views: 15483

Amazon access permissions are set by the user who creates the object. By default, when encoding.com sends a encoded file to a user's Amazon S3 bucket it sets the permissions of this file to 'authenticated-read'. 

If you want your file to be public-readable, add ?acl=public-read to your destination URL, like this:

http://your.bucket.s3.amazonaws.com/fooder/file.ext?acl=public-read

This will allow you to share your file with all web users - the file is accessible via this URL: http://your.bucket.s3.amazonaws.com/fooder/file.ext.

 If otherwise, you don't want to share your file with anybody, you can make encoding.com to save your file using your OWN Amazon credentials. In this case you have to specify your AWS key and secret in your destination URL:

http://AWS_KEY:AWS_SECRET@your.bucket.s3.amazonaws.com/fooder/file.ext

The file is now accessible only by yourself. 

 If you want OWN the destination file and grant permissions for it, specify both AWS credentials and ACLs:

 http://AWS_KEY:AWS_SECRET@your.bucket.s3.amazonaws.com/fooder/file.ext?acl=authenticated-read

Email    Print
How helpful was this article to you?

Related Articles

Setting S3 permissions for thumbnails
AWS authentication access is currently not...

 
How can I use a Amazon bucket as a source?
Use the following format as a source url...

 
Using Amazon S3 with the Watch Folder
Let we need to encode videos located in some...