Developers Support Customer login
+1 800.513.1740

Setting permissions for Amazon S3 bucket delivery from encoding.com

9-2-2008 Views: 17292

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/folder/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/folder/file.ext.

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

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

The file is now accessible only by that user.  If the user wants to own the destination file and grant permissions for it, specify both AWS credentials and the ACL:


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

 

Also note, we must percent-encode (URL escaping - see the full help article here) the Secret Access Key, as it contains the special URL characters: ':' and '/'. The percent-encoded Secret Access Key is:
lQT5MsQLirc8owb%3ASxX%2F9EhU4MQarasFelQ0v2M


Once the Secret Access Key is properly percent-encoded, it can be added to the address string, the destination URL would look like this:

http://1ZG3YAKJ8W0VOA9L7WT6:lQT5MsQLirc8owb%3ASxX%2F9EhU4MQarasFelQ0v2M@encode.video.s3.amazonaws.com/v/encoded/ 

Email    Print
How helpful was this article to you?

Related Articles

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

 
Using Amazon S3 with the Watch Folder
Make sure your destination is NOT a...

 
How can I use a Amazon S3 file as a source?
Set the Amazon object to have READ permission...