[6541] in java-interest

home help back first fref pref prev next nref lref last post

Re: AppletSecurity Exception

daemon@ATHENA.MIT.EDU (Scott Johnson)
Wed Apr 3 14:27:36 1996

Date:         Wed, 3 Apr 1996 12:44:12 -0500
Reply-To: Java Interest <JAVA-INTEREST@JAVASOFT.COM>
From: Scott Johnson <scottj@AIP.ORG>
To: Multiple recipients of list JAVA-INTEREST
              <JAVA-INTEREST@JAVASOFT.COM>

You can only do that if you get the applet from there!

As far as I know...

You can only open a socket level connection from an applet (in netscape)
to the distributor of that applet. Put the applet on the server side,
call it up (via netscape etc) from the client and then it should work.

*Note: As an a*p*p*l*i*cation this particular security check is not a problem.

>I was trying to establish an URL connection.  When I run my code as a
>standalone program, it works fine. However, when I run it as an applet,
>I receive the following error message:

>*** Security Exception: socket.connect:->www-leland.stanford.edu ***
>sun.applet.AppletSecurityException: security.socket.connect: ->www-leland.stanfo

home help back first fref pref prev next nref lref last post