[4762] in java-interest

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

Why should an Applet only talk with its originating host?

daemon@ATHENA.MIT.EDU (Andrew Turk)
Fri Jan 12 16:55:55 1996

In-Reply-To: <199601120027.QAA26898@java.sun.com>
From: Andrew Turk <andy@sarrus.com>
Date: Fri, 12 Jan 96 12:40:05 -0800
To: java-interest@java.sun.com
Reply-To: andy@sarrus.com

Someone posted a fragment of a FAQ which said that Java Applets can only  
communicate with the host where the applet lives. This restriction was made  
for reasons of security.

IMHO, this puts a big damper on architectures where you want an applet to  
talk to an application server that isn't necessarily located on the same  
machine as your web server (e.g., an RDBMS).

Here are a couple of questions for you Java gurus out there:

1. How would a Java applet become "less safe" if it were allowed to freely  
communicate with other hosts (assuming everything else stayed the same)?

2. In light of this particular restriction, has anyone figured out a good way  
to have an applet talk to an application server which isn't on the same  
machine as the web server?

Thanks,

Andy Turk
Sarrus Software, Inc.
andy@sarrus.com
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

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