From user-return-58300-apmail-ant-user-archive=ant.apache.org@ant.apache.org Thu Oct 12 22:05:08 2006 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 84067 invoked from network); 12 Oct 2006 22:05:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Oct 2006 22:05:08 -0000 Received: (qmail 13811 invoked by uid 500); 12 Oct 2006 22:05:06 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 12844 invoked by uid 500); 12 Oct 2006 22:05:03 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 12829 invoked by uid 99); 12 Oct 2006 22:05:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Oct 2006 15:05:03 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ddevienne@gmail.com designates 64.233.182.188 as permitted sender) Received: from [64.233.182.188] (HELO nf-out-0910.google.com) (64.233.182.188) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Oct 2006 15:05:02 -0700 Received: by nf-out-0910.google.com with SMTP id m19so1216693nfc for ; Thu, 12 Oct 2006 15:04:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZDI2kQj51c9pWVeGaCPO/01UgF+bCJ85yMUaP6V8sfikwr8J0TsOC2eC/gMSEVgH9Nl2O60DYJlA/hRv3Anof6RCOqo/wNH82KbVYIlIu6zWCLr5jQtrALxRq+zlu9QuPvitvYclMhSZbc9NoK+6phruJLxePsYAhNEfEUReK8k= Received: by 10.48.163.19 with SMTP id l19mr5733842nfe; Thu, 12 Oct 2006 15:04:41 -0700 (PDT) Received: by 10.49.64.10 with HTTP; Thu, 12 Oct 2006 15:04:41 -0700 (PDT) Message-ID: <255d8d690610121504y51ebaaa6lf3f7efe87c08f7bd@mail.gmail.com> Date: Thu, 12 Oct 2006 17:04:41 -0500 From: "Dominique Devienne" To: "Ant Users List" Subject: Re: AW: How To Jail Ant Script by Options In-Reply-To: <452EB9CE.30700@laposte.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <452EB9CE.30700@laposte.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > does chroot command exist in ant script language? No. chroot is a low-level unix system command. But Java can be "sandboxed" using security policies: http://java.sun.com/j2se/1.4.2/docs/guide/security/PolicyFiles.html Also, Jan pointed you to , a nested element of , which could perhaps be used to revoke write-access to some parts of the filesystem. In any event, it's probably non trivial to setup... --DD --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org