Someone asked me about using clamav and coldfusion to scan uploaded attachments so I threw together something that seems to be fast enough to be used in a production environment.

It shouldn't be too hard to integrate it into any ColdFusion app, the core was coded as a component which should make it easy to work with and only requires 2 arguments, file path and file name.

This script was tested under Windows (paths need to be adjusted for compliance), Linux and Mac OSX (10.4, 10.5 and 10.6) and both Adobe CF and BlueDragon without issues.

I'm wondering if this can be mentioned in the documentation for those who wish to take advantage of clamav in coldfusion and possibly include the sample in the contrib directory?

The sample along with the source can be seen at. http:// daleenterprise.com/clamav_test.cfm

I'll leave it up for a week giving you time to decide if it's beneficial or warrants any action.

-- Dale



Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

Reply via email to