Setting permissions for Amazon S3 bucket delivery from Encoding.com

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/

1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 3.33 out of 5)
Loading...

edchelp