Anti-virus Scan of Programatic Memory Stream
Posted on 2006-07-11
We are working on a web-based content management solution that allows for uploading files to a database environment. Files are only written to the hard drive in encrypted fashion, and when decrypted later any virus-laden file can be caught due to temporary writes, but we'd rather trap the file on the way in if it is carrying a virus. So far the only potential solutions I've been able to find have written files to temporary storage, scanned through the command-line, and checked the error code, but surely there's a better mechanism to allow the scanning of a Windows memory stream. Any ideas?