We are introducing a corporate application with great attention to security, which includes downloading files. These files must be checked for viruses, but also must be encrypted.
The current process is that files are downloaded and then transferred by stream - through encrypter - to the temporary storage area on disk. Then the virus scanner is called up and the files are decrypted on the fly, transferred through ClamAV through the socket, and then the virus status is returned from the socket.
The problem is that ClamAV seems to write to the temporary area on disk before scanning, which means unencrypted potentially sensitive data in the file system.
Does anyone know how to fix this? Perhaps by setting ClamAV to scan only in memory (my Google search returned no results) or maybe some alternative suggestions?
Martin
source share