开发者

Virus scanning in a Java webapp?

开发者 https://www.devze.com 2023-01-13 11:03 出处:网络
I\'m writing a Java-based web app that allows users to upload and submit content to the site.Before it is made available, though, I\'d like to perform a virus scan to ensure that no malicious content

I'm writing a Java-based web app that allows users to upload and submit content to the site. Before it is made available, though, I'd like to perform a virus scan to ensure that no malicious content gets posted. Does anyone know of an anti-virus scanner that can be accessed via Java? The app will be hosted on Linux (CentOS 5.5 x64) and run on Tomcat 6.x. Any advice or recomme开发者_如何学Gondations would be appreciated!


Check out Clam AV. It seems to only come in shared library form so you would have to make a JNI wrapper for it. I haven't tried it but it looks kind of neat.

0

精彩评论

暂无评论...
验证码 换一张
取 消