Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 24325 invoked from network); 22 Nov 2010 15:14:54 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Nov 2010 15:14:54 -0000 Received: (qmail 21326 invoked by uid 500); 22 Nov 2010 15:15:26 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 21269 invoked by uid 500); 22 Nov 2010 15:15:23 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 21260 invoked by uid 99); 22 Nov 2010 15:15:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Nov 2010 15:15:23 +0000 X-ASF-Spam-Status: No, hits=-1998.9 required=10.0 tests=ALL_TRUSTED,FRT_ADOBE2,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.9] (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 22 Nov 2010 15:15:22 +0000 Received: (qmail 24240 invoked by uid 99); 22 Nov 2010 15:14:30 -0000 Received: from localhost.apache.org (HELO mail-qw0-f42.google.com) (127.0.0.1) (smtp-auth username bdelacretaz, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Nov 2010 15:14:30 +0000 Received: by qwi2 with SMTP id 2so2503355qwi.1 for ; Mon, 22 Nov 2010 07:15:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.224.3.6 with SMTP id 6mr4369357qal.397.1290438901250; Mon, 22 Nov 2010 07:15:01 -0800 (PST) Received: by 10.220.90.143 with HTTP; Mon, 22 Nov 2010 07:15:01 -0800 (PST) In-Reply-To: References: Date: Mon, 22 Nov 2010 16:15:01 +0100 Message-ID: Subject: Re: server antivirus integration From: Bertrand Delacretaz To: users@jackrabbit.apache.org Content-Type: text/plain; charset=UTF-8 On Mon, Nov 22, 2010 at 4:01 PM, Alexander Klimetschek wrote: > On 21.11.10 16:48, "Eric Lenio" wrote: >>...I am looking for ideas/suggestions/experiences about server-side >>scanning of documents for viruses before inserting them into a Jackrabbit >>repository.... > > ...A good approach might be to import first, then have an observation > listener scan any new binary content and store its result next to the file > (a property like "virusScan=ok"). Your application could deny reading the > data before the scan property was set to "ok".... Or import them to a temporary path in the repository to which users have no access, and move them to the final destination once checked. Moving binaries under a different path is cheap with Jackrabbit's DataStore, no binary data has to move. -Bertrand