Hi Cameron,

Cameron McCormack <[EMAIL PROTECTED]> wrote on 01/22/2007 10:43:14 PM:

> Am I right in thinking that svgbrowser.bin.policy is used for when Batik
> is used as an application (at the command line), and svgbrowser.policy
> is for other times (e.g. in an applet)?

   No I believe that svgbrowser.bin.policy is used when Batik is
running from a 'binary' distribution, which means that it's code
is mostly living in jar files, so each of those jar files needs to
be granted appropriate permissions.

   svgbrowser.policy is used when Batik is running from 
the 'classes' directory (development time).

   When you run as an Applet then your policy is generally
determined by the 'Host' (browser normally).

   It is one of the major ugliness that because we use
security (to protect the system from rogue JavaScript) there
is a significant potential for different behavior in the
binary distribution (most commonly when a new JAR is added
and permissions aren't granted to that JAR).


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to