Strip exif data before uploading: client > S3

How are you handling exif data?
I would think the most privacy conscious way, is stripping it on the client.
Do you use elixir, or js?
Use your server: client > server > S3

As always, it depends… If it’s a direct upload to S3, maybe you want to strip the information on the client, if it goes through the server you can do it there. Doing it on the client always makes the thing prone to tampering (if the user is motivated enough to do so).

Some services like Transloadit allow you to do direct uploads and transform files “on the fly” via a pipeline that you can configure, but I guess you could also configure a lambda to do the same thing for your files if you want to.