Java Security FAQ: Send data to a 3rd host


Here's an applet that tries to send a datagram packet to www.sun.com:

Here's the source.

Conclusion:

Applets can't send use network connections to send data to hosts on the internet other than to the host they came from.


Back to the Java Security FAQ