ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject Re: AW: How To Jail Ant Script by Options
Date Thu, 12 Oct 2006 22:04:41 GMT
> 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 <permissions>, a nested element of <java>,
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


Mime
View raw message