Re:Ask HN: How to handle user file uploads?
by sigil on Saturday May 04, 2024 @01:43PM
(#40259136)
Like you, we use pre-signed S3 upload urls. From there we use Transloadit [0] to crop and sanitize and convert and generate thumbnails. Transloadit is basically ImageMagick-as-a-Service. Running ImageMagick yourself on a huge variety of untrusted user input would be terrifying.
[0] https://transloadit.com/