简体   繁体   中英

Amazon s3 policy grants access only to Vimeo api

Is it possible to grant access, via a policy, only to Vimeo api to download the private content into my bucket?

I am trying to create a videos platform with RoR 5 and I am using paperclip to upload the videos to my S3 account. To avoid incompatibility problems with the videos I want use Vimeo to transcode and hosting them (I think is a better option than the transcoding service in cloud).

So I have to use the Vimeo API to upload the videos to my Vimeo account and more specifically the option "Automatic (“pull”) uploads"

where I need to pass "A url to a video file accessible by Vimeo's servers.", a S3 url in my case. The problem is that I want to have private content in my S3 bucket, but so the vimeo API can't access to the video url.

According to AWS S3 documentation, this is possible. Follow this link for details: Restricting Access to a Specific HTTP Referrer . However, I am not sure that api.vimeo.com is the name of the Vimeo server that pulls videos.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM