You are here: Home Plone products collective.ATClamAV

collective.ATClamAV (1.1)

1
by Olha Pelishok last modified 2011-02-17
0.0
0.0
0.0
0.0
Released on 2011-02-15 by G. Gozadinos under GPL - GNU General Public License available for All platforms.
Software development stage: stable
Provides ClamAV antivirus integration for Archetypes based content types.

collective.ATClamAV aims at providing antivirus integration to Plone sites. It does that by defining a validator that can be used with any content type that uses File or Image field(s). The open-source Clam Antivirus is supported which is available for all platforms.

Usage

To start, you need to have clamd running on some host accessible by your instances. collective.ATClamAV supports either UNIX socket connections or remote connections.

Install collective.ATClamAV and setup the host & port or the path to the clamd socket in the control panel (default is a network connection to clamd listening on localhost at port 3310). By default Files and Images are going to be checked for viruses when added or updated.

Adding anti-virus protection to non-ATFile based content

In order to add anti-virus protection to your custom content types you only need to add the isVirusFree validator to your FileField(s). For instance:

FileField('file',
validators = (('isNonEmptyFile', V_REQUIRED),
('isVirusFree', V_REQUIRED),),
widget = FileWidget(label=u'File'),
)
Document Actions
Powered by Plone