I am building a small web app in php, that accepts .doc /.docx / .rtf and .txt files. I've validated them against their mime-types. But now I'm thinking about virus scanning. I know there are systems like siteLock that can scan your systems for malware/viruses. I also know there are http://en.wikipedia.org/wiki/Clam_AntiVirus that I believe can be used to scan the stream as it's uploaded.
Is it necessary to also try and use Clam as the stream is uploaded? Not really sure here what is the best way forward?
Thanks for any help. My first post on here.