Re: Applets

Marianne Mueller (mrm@Eng)
Sun, 13 Jul 1997 17:45:44 -0700

Date: Sun, 13 Jul 1997 17:45:44 -0700
Message-Id: <199707140045.RAA01528@puffin.eng.sun.com>
From: Marianne Mueller <mrm@Eng>
To: Neuman-Comnas@worldnet.att.net
Subject: Re: Applets

> I apologize if I am writing to the wrong place; however, I am puzzled about
> something and could not figure out where to send my comment. There is a
> comment in and of itself.

There is a long list of email addresses on our web site, at
http://java.sun.com/mail/index.html

>
> I created a web site for our local one room schoolhouse
> (http://www.hamptons.org/wainscottschool) and incorporated three applets
> that I obtained from your book entitled Hooked on Java.

This book is based on the original release of Java, JDK 1.0, and so
the example are probably very dated. I recommend that you use the
demos from our web site,

http://java.sun.com/applets/index.html

Two good tutorial books are

1) Addison Wesley Java Series: Tutorial
Campione, Walrath
"The Java Tutorial"

2) and, any of Laura Lemay's books

>
> Here is my problem. When I view the site on my office machine with
> Internet Explorer version 3, it works fine. When I do the same at home
> (same browser) no problem. However, on two other office machines with the
> same browser (same version), they are not able to open the applets. I see
> some sort of message about security and an inability to resolve something
> with the IP.
>
> Do you have any ideas about what the problem might be?

By default, applets are not allowed to make network connections to any
machine other than the machine that they originated from.

You can read up on the original Java security model at

http://java.sun.com/sfaq/

Your life will improve as the next major Java release gets "out there"
... we are adding support for fine-grain access control, so that
you'll be able to configure your Java systems so that you can say
such-and-such applet is allowed to connect to such-and-such machine
(but not do anything else.)

I'm sorry if the current sandbox model is too restrictive, but we feel
that it is necessary for downloaded applets to be restricted in what
they can get up to.

>
> Again, I am probably writing to the wrong place, but there just didn't seem
> to be any better category. Thanks.

You are writing to the right place actually!

>
> By the way, we would be please if you visit our school's website. I tried
> to us Java, since I did not want my entire computer life to be controlled
> by Microsoft.

Same here! :-) :-) I would love to visit your school's website,
I'll check it out.

Thanks,
Marianne
JavaSoft engineering, security