Upload of MS Word Files with Antivirus

Author Message

Lazaro Ferreira

Thursday 28 June 2007 9:19:46 am

Hi all

We have seen Björn antivirus stuff to check file downloads:

http://ez.no/community/contribs/applications/antivirus_clamav_integration

It implements an ezbinaryhandler. We need something like this to check upload of MS Word files.

After researching ezbinaryhandler it seems not ready to support upload (at least in version 3.8.6 ) , on the other hand, We think it is possible to use eZContentUploadHandler to do the job

My question is, which approach do you recomend to implement Björn antivirus stuff for uploads of MS Word Files ?

Regards

Lazaro
http://www.mzbusiness.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 01:05:21
Script start
Timing: Jan 19 2025 01:05:21
Module start 'layout'
Timing: Jan 19 2025 01:05:21
Module start 'content'
Timing: Jan 19 2025 01:05:22
Module end 'content'
Timing: Jan 19 2025 01:05:22
Script end

Main resources:

Total runtime0.6062 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 590.7578152.6250
Module start 'layout' 0.00600.0035 743.382839.4453
Module start 'content' 0.00950.5954 782.8281426.8750
Module end 'content' 0.60490.0013 1,209.70318.1563
Script end 0.6062  1,217.8594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.5330160.0002
Check MTime0.00130.2142160.0001
Mysql Total
Database connection0.00070.107410.0007
Mysqli_queries0.567893.6529460.0123
Looping result0.00040.0689440.0000
Template Total0.573194.520.2865
Template load0.00190.319320.0010
Template processing0.571194.207220.2856
Template load and register function0.00020.032010.0002
states
state_id_array0.00090.156710.0009
state_identifier_array0.00080.125920.0004
Override
Cache load0.00160.2609100.0002
Sytem overhead
Fetch class attribute can translate value0.00060.097210.0006
Fetch class attribute name0.00120.190510.0012
XML
Image XML parsing0.00010.017810.0001
class_abstraction
Instantiating content class attribute0.00000.001310.0000
General
dbfile0.00180.3031100.0002
String conversion0.00000.001840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs