List Info

Thread: svgbrowser.policy and svgbrowser.bin.policy




svgbrowser.policy and svgbrowser.bin.policy
user name
2007-01-22 21:43:14
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:heycamjabber.org ▪ ICQ 26955922 ▪ MSN cammcc.id.au --------------------------------------------------------------------- To unsubscribe, e-mail: batik-dev-unsubscribexmlgraphics.apache.org For additional commands, e-mail: batik-dev-helpxmlgraphics.apache.org
Re: svgbrowser.policy and svgbrowser.bin.policy
user name
2007-01-23 04:45:40
Hi Cameron, Cameron McCormack 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-unsubscribexmlgraphics.apache.org For additional commands, e-mail: batik-dev-helpxmlgraphics.apache.org
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )