java.security.AccessControlException

Michael Ossmann michael.ossmann "at" alttech.com
Mon, 18 Mar 2002 17:31:17 +0000


On Mon, Mar 18, 2002 at 10:38:04AM +0530, saravanan pillai wrote:
> 
> java.security.AccessControlException : access 
> denied(java.net.SocketPermission XXX.XXX.XXX.XXX*:5900 connect, resolve)

Are you running the applet within a web browser?  If so, is it being
served from a web server on the same box as the VNC server?  If it is
being served by a different remote machine (or even your local
filesystem) your web browser will refuse to grant the Java applet
permission to open a connection to any remote host except for the one
which served the applet.  This is one of the reasons it is common
practice to serve the Java applet from port 5800 on the VNC server.  You
can grant the applet special permissions only if it is a signed applet.

-- 
Mike Ossmann, Tarantella/UNIX Engineer/Instructor
Alternative Technology, Inc.  http://www.alttech.com/
---------------------------------------------------------------------
To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------