The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
December 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Working around the sand box

Posted by Mehul Mehta on December 21, 2000 at 1:40 PM

Looks like you are violating the
sandbox. An applet can only make
a socket connection to the machine
from where it was downloaded.
To get around this depends on the
JVM which is running your applet.
In case of Internet Explorer and
Netscape Navigator JVMs, you will
have to sign your applet according
to their individual specifications.

But the best thing to do would be
to use Java plugin 1.3.0 which will
look at your policy file to give
appropriate permissions to your
applet. In such a case, just edit your
policy file to exclusively grant
socket permissions to your applet.
- Mehul






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us