A tween checking file uploads for viruses using clamav.
Project description
pyramid_clamav
Pyramid tween which checks file uploads for viruses using clamav.
You need to have a running clamav installation on your system to which the tween can connect via a unix socket. You can set the socket path in your config, but the defaults should work on most systems.
If a virus was found, the file is removed from the request. The field which was used to upload the file should handle it like no file was uploaded.
A flashmessage is presented to the user stating that a file contained a virus and it has been removed.
It should also work for multiple files.
pyramid_clamav
0.2 (2013-12-17)
Fixed setup.py to contain locale directory.
0.1 (2013-12-17)
Initial release.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.