node.js - image upload with security related issue -


i have service users can upload images (in form of base64-encoded string) server , server convert string image file , upload aws.

what if base64-encoded string malware or virus in disguise?

that valid concern. 1 way deal run up-to-date malware detection on decoded file before making public. if fails, don't allow seen anyone. check out clamav 1 such option.


Comments

Popular posts from this blog

renaming files in a directory using python or R -

html - outline-style different in chrome compared to firefox and internet explorer -

ruby on rails - Carrierwave Timeout -