Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Scan Virus/Malware while uploading the image by USER using jQuery

Avatar

Level 3

Hai All,

We have one use case, where the user can upload an image (let's say Identity card photo).

Now in the front end, I need to check for any malware/virus is present in that image.

Do we have any Jquery plugins or any similar implementations available?

Kindly suggest here.

 

Many Thanks,

Sateesh Kotramangalam.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @sateeshk9319722,

We do have one from NPM module - https://www.npmjs.com/package/clamscan

Also, I suggest to consider other validations related to file upload in general both in front end and at back end (If your implementation involves back end logic too)

Related links for reference:

https://cheatsheetseries.owasp.org/cheatsheets/File_Upload_Cheat_Sheet.html

https://security.stackexchange.com/questions/235/what-steps-should-be-taken-to-validate-user-uploade...

 

 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @sateeshk9319722,

We do have one from NPM module - https://www.npmjs.com/package/clamscan

Also, I suggest to consider other validations related to file upload in general both in front end and at back end (If your implementation involves back end logic too)

Related links for reference:

https://cheatsheetseries.owasp.org/cheatsheets/File_Upload_Cheat_Sheet.html

https://security.stackexchange.com/questions/235/what-steps-should-be-taken-to-validate-user-uploade...