[H-GEN] JVM internal security

Allen Grace a.grace at mailbox.uq.edu.au
Wed Sep 27 01:16:30 EDT 2000


[ Humbug *General* list - semi-serious discussions about Humbug and  ]
[ Unix-related topics.  Please observe the list's charter.           ]
[ Worthwhile understanding: http://www.humbug.org.au/netiquette.html ]

Hi all

I suspect that I know the answer to this question already, but you never
know...

I've written a java applet as part of a ppp connection monitoring
system, intended to run inside the LAN here. The webserver
('192.168.1.1') has served the applet to the client, which then tries to
exchange UDP packets with another machine (viz. '192.168.1.3') running a
perl script with its finger on the pulse of the ppp interface. Lovely so
far. Except that netscape's JVM doesn't seem to like the applet making
its own network connections.

netscape.security.AppletSecurityException: security.Couldn't connect to
'192.168.1.3' with origin from '192.168.1.1'.
  at
netscape.security.AppletSecurity.checkConnect(AppletSecurity.java:917)
  at
netscape.security.AppletSecurity.checkConnect(AppletSecurity.java:929)
  at
netscape.security.AppletSecurity.checkConnect(AppletSecurity.java:798)
  at java.lang.SecurityManager.checkConnect(SecurityManager.java:718)
  at java.net.DatagramSocket.send(DatagramSocket.java:167)
  at PPPClient.register_with_server(PPPClient.java:60)
  at PPPClient.init(PPPClient.java:46)

There wouldn't be anything I could do about this, could there? Apart
from excluding netscape and just making the java bit standalone, or
something along those lines.

Any thoughts appreciated.

allen
-- 
/"\
\ /
 X    ASCII RIBBON CAMPAIGN    
/ \     AGAINST HTML EMAIL

--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.



More information about the General mailing list