I am trying to build a service where anybody can send an image file from an email address/client and process it. Think about the service a bit like Flickr showing the image in a dashboard that comes via emails
From a usability standpoint this mechanic offers great deal of advantage but I want to understand the security consequences of such an action.Some concerns are:
- I need to validate all these files as images
- People can probably send a file with an exploit/code that can likely be a problem. But in my case I am mostly going to do a file open and save and let the browser show the image
Am I taking the right approach here? Are there serious consequences that I should be of?