3 ms·
It's actually really simple and quick to do. You offload a ton of processing power to S3. It works like this: User tells the backend, “I want to upload pictur
by sergiotapia 9y ago
It's actually really simple and quick to do. You offload a ton of processing power to S3.
It works like this:
User tells the backend, “I want to upload picture.jpeg!”
Backend tells the user, “Alright you have my permission but ONLY for that filename with that extension. Here’s a token, enjoy.”
User uses that signed token and pushes the file to your S3 bucket.
Here's how you do it in Phoenix. https://sergiotapia.me/phoenix-framework-uploading-to-amazon-s3-e70657bd2013 https://sergiotapia.me/phoenix-framework-uploading-to-amazon...