Archived from the Transloadit support forum. Originally posted on December 2, 2013; details may be outdated, see our docs for current behavior. Original thread
Hello,
I’m not sure how I go about adding permissions to my s3 bucket as outlined in your docs.
I would be grateful if you could explain how I should do this.
Also, can you tell me what value I should put in the ‘Sid’ key?
And finally, why is a policy necessary? I have defined a template and am able to upload files to my s3 bucket using your JQuery bucket. So not sure what the policy adds.
sure, no problem. You need to login to your S3 account and right click on your bucket. There you have “Add bucket policy”.
The bucket policy is necessary in order to set the proper permissions on the bucket that are required for Transloadit to store files in your bucket and to verify that an upload actually reached your bucket. It’s an additional security layer that S3 demands.
Sid is just a small description that you set in order to recognize the rule later. It can be “Allow get requests to specific referers”, or just “SomePolicy” or just “FirstPolicy” or even “1”.
Thanks Tim. Do I need to refer to/identify requests from TransloadIt in the policy? I read yesterday that you can, for example, apply policies to certain domains etc.