I have an upload form where users are supposed to upload images
no need to say an asshole uploaded some kind of shit and hacked my page
how do I make a photo upload safe?
I'm already checking that the extension is among the enabled ones (currently 'image/gif', 'image/jpg', 'image/jpeg', 'image/png')
I'm checking for the file size to be bigger than 0
what else should I do?
I think they're uploading a fucked jpg image with some weird shit in it
I've heard several times of jpg vulnerabilities but I can't find anything useful on google :|
any idea?
no need to say an asshole uploaded some kind of shit and hacked my page
how do I make a photo upload safe?
I'm already checking that the extension is among the enabled ones (currently 'image/gif', 'image/jpg', 'image/jpeg', 'image/png')
I'm checking for the file size to be bigger than 0
what else should I do?
I think they're uploading a fucked jpg image with some weird shit in it
I've heard several times of jpg vulnerabilities but I can't find anything useful on google :|
any idea?