Access for Cloudfront Origin Access Identity

Archived from the Transloadit support forum. Originally posted on February 25, 2011; details may be outdated, see our docs for current behavior. Original thread

We are using Amazon Cloudfront for video streaming. The videos are protected and can only be accessed using a signed URL. The mechanism is described here: http://docs.amazonwebservices.com/AmazonCloudFront/latest/DeveloperGuide/index.html?SecuringContent_S3.html

We need all videos uploaded via Transloadit to be set private, but then grant read access to a special “Cloudfront access” S3 user ID. The s3/store robot only allows to set general public-read/public/private access. Would it be possible to add an option for allowing specific user permissions? Or do you have a better suggestion for a solution outside Transloadit?

Or do you have a better suggestion for a solution outside Transloadit?

Yes, what you are looking for is probably this:

http://aws.amazon.com/iam/

This article has a good intro (Python): http://tomatohater.com/2011/01/22/aws-identity-and-access-management-iam-python/

Basically you can set explicit permission rules on your bucket this way, that will apply to all files automatically.

Would it be possible to add an option for allowing specific user permissions?

We might do that at some point, but Amazon IAM is a much better solution as it also allows you to limit the access transloadit itself has to your buckets and objects.

Thanks for pointing me to the IAM stuff, this looks much more flexible than the ACL system. It’ll probably solve the issue.

Alright, I’ll close this ticket for now. But feel free to re-open if you have more questions.