Only allow Amazon S3 images to be served on Meteor app

Hi.

I am using Amazon S3 to serve some private images that cannot be accessed elsewhere.
I think it is possible to create a bucket policy and specify IP addresses that can access the bucket?

But is it possible to only allow the app users to GET the bucket images from the Meteor App domains?

Meteor 1.2 uses meteor.local and Meteor 1.3 = localhost right?

If it helps I am using https://github.com/CulturalMe/meteor-slingshot to upload to Amazon.

Thanks in advance!

1 Like

I feel like you can probably achieve this with a cors config.

1 Like