S3 client-side uploads on top of Middleman using a simple Rails application to authorize file uploads and downloads.