Firebase repository, make sure the image is genuine and not executable.

With firebase, even if you specify the metadata and content type, what other steps can you take to make sure the file you download is indeed the image?

On the client side, do we have libs in javascript that validate and validate images? I mean there is this post: Show Image and Check Image Extension Before File Upload Using Javascript

But this allows us to test the extension. What if the user renames the executable to .jpg and then downloads it. How can we prevent such situations?

+3


source to share


1 answer


I believed that after taking all the precautions on our part, we should leave and trust the firebase team with the security part. Most likely, they should have antivirus software on their side.



0


source







All Articles