You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by Cameron McCormack <ca...@mcc.id.au> on 2007/01/23 04:43:14 UTC

svgbrowser.policy and svgbrowser.bin.policy

Hi.

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)?

Thanks,

Cameron

-- 
Cameron McCormack, http://mcc.id.au/
	xmpp:heycam@jabber.org  ▪  ICQ 26955922  ▪  MSN cam@mcc.id.au

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


Re: svgbrowser.policy and svgbrowser.bin.policy

Posted by th...@kodak.com.
Hi Cameron,

Cameron McCormack <ca...@mcc.id.au> 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: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org