Scanning files with ClamAV from CakePHP

Posted by Sander_Marechal on Jul 6, 2009 10:58 PM EDT
Lone Wolves; By Sander Marechal, The Netherlands
Mail this story
Print this story

One of the requirements for the upcoming public release of Officeshots.org is that all uploaded files are run through a virus scanner before they are made available. Picking a virus scanner for this job was easy: ClamAV. Finding a PHP library to interact with ClamAV proved harder though. The 3rd party library page for ClamAV points to two different libraries that provide PHP bindings for ClamAV but both appear to be dead and expunged from the internet. So, I created my own using the clamd TCP API, and because Officeshots is built using CakePHP I implemented it as a Cake plugin.

Full Story

  Nav
» Read more about: Groups: Debian, PHP

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.