Storing files on Amazon S3 is a great way to make them available to the world, without having to set up your own hosting service. A lot of websites take advantage of S3 and other Amazon AWS services for file storage and delivery, and for good reason. It's simple, cheap and effective.
But what do you do when you need to store files and deliver them without making them available to the public, directly? Maybe you don't want random people on the internet grabbing a URL to your file and downloading it without your consent. Maybe you need to have people log in to your app, or you just want to make sure your app is in control of delivering the file.
With Amazon S3, you can have securely stored files and still deliver them to your users. And in this episode, you'll see exactly how to do that. Using the Amazon AWS SDK for Node, you'll learn how to create securely stored files, set up an HTTP based API in your application to deliver the file, and see how to use an HTTP redirect with a pre-signed URL to download the file.