Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Check for Viruses before uploading Amazon S3? [closed]

How can I check files before uploading to Amazon S3,any tips?

Updated: It need for my web-site when users upload a file i want to check whether it's not infected. Is there any API which allows for check files programmatically ?


Thanks in advance!!!

like image 333
Jama A. Avatar asked Jan 27 '11 15:01

Jama A.


2 Answers

If you mean manually: try the online virusscanner at http://www.virustotal.com/ - It checks against a lot of antivirus programs for you.

like image 80
Merijn Avatar answered Sep 28 '22 23:09

Merijn


I think the best solution is @Joe's answer to a similar question for c#:

I would probably just make a system call to run an independent process to do the scan. There are a number of command-line AV engines out there from various vendors.

like image 22
Geoff Appleford Avatar answered Sep 29 '22 00:09

Geoff Appleford