With firebase, even if you specify the metadata and content type, what other steps can be taken to make sure that the file being uploaded is genuinely an image?
On client side, do we have libs in javascript that validate&verify images? I mean there is this post : Display image and Validation of image extension before uploading file Using Javascript
But it allows us to check the extension. What if a user renames an executable to .jpg and then uploads it. How can we prevent such situations?