Upload Files to Amazon S3 with Meteor Slingshot

Comments (9)

Write your comment

Very nice article, and I agree the progress bars adds a nice touch. Could I use the same approach for uploading other files? For example my use case would be to let users upload PDFs and then send these via email through my application? Do you know if this would be possible with this set up or is there an easier way?

Write a reply...

Really good article! Simple and clear. Thank you !

Write a reply...

Hi thanks for the tutorial. I get downloadUrl undefined when I try to upload something.

Write a reply...

Also, anybody knows how we can encrypt calls to AWG services? The main concern is about managing hi def images (the original) from a owner, without transfering it plain visible on the web.

Finally, if there is not way to control access to images, I suppose we need a way to transfer from a location to another one (from the upload folder TO a processing folder TO a public folder for serving row res versions publicly.

There is a pull request for enabling encryption on meteor slingshot.

github.com/CulturalMe/meteor-slingshot/pull..

But it is not merged yet. You could change your library (I would not suggest)

Write a reply...

Also, as I am investigating a service like cloudinary.com, one of their features is automatic transform of images to other formats, such as thumbnail, mobile size, low resolution, etc.

Can we expect that AWS servers could do that? (By them or by our own implementation)?

Write a reply...

Another concern is how private the access is. Does this Slingshot+AWS pattern allow anybody to access it one on the server?

Write a reply...

I am not an expert (far from that), but a nebulously documented element in all ressources is: Do we need to do something with our server so our secure key is sent securly to the 3rd party API?

Or there is already a protocol in the API that encrypt sending these request?

In other words: Do we need to implement SSL on our server so calling secure APIs is secure?

Thanks!

Write a reply...

very useful article! especially the progress bar added value compared to
meteorchef approach

Write a reply...

Good article, but I was wondering where you're supposed to put the AWS key ... I guess it's in the createDirective where you have left it blank. I suggest you put in a string like "YOUR_AWS_KEY_HERE" or something like that to make it obvious.

Thanks for pointing it out. Updated the article and the repo.

Write a reply...

loading ...