I start needing to scan for viruses all files uploaded to my website. I've implemented a pretty simple prototype which I tested locally and it seemed work well. However, I need to make it more complex by involving more antiviruses to be able scan an uploaded file by each of them. But I'm hesitating. Here are the possible issues:
a) Can I scan the same file concurrently by multiple antiviruses at the same time?
b) Should I run each antivirus only when it's needed (an user has uploaded a file and it has to be scan) and should they run all the time in background? If the second option, won't they conflict with each other?
c) In case, there are more files have to be scanned, should I run a new process-antivirus for each file or can I "queue" the files for each antivirus?
Yes, I'm aware about third-party services doing exactly this, I don't need them.