Re: Java! hooah! What is is good for...?
Daz wrote:
The Java applet security model is probbaly even more restrictive
than the JavaScript one.
Hmm. I'm not sure about that. JavaScript is mainly limited to within
the browser, for obvious reasons. Any file writing/reading you can do,
is seriously limited. In order to acheive that for Firefox, you need
to script a JavaScript XPI, which has to be installed by the user, and
it uses Firefox's internal API. Other than that, nothing downloaded
from the web can write access external files on the OS. I am not 100%
sure about IE, however, as it breaks all the rules.
>
> Does this sounds like Java to you, in the sense that if it's a web
> app, you can't read/write files?
An unsigned applet have no access to the client PC file system
either.
The user can grant a signed applet more priviliges.
PS: A Java web app is usually server side Java (JSP & Servlet
similar to PHP) not Java applet.
The biggest problem with Java applets is users that either does
not have Java or have a very old version of Java.
I was under the impression that Java apps automatically check to see
if the correct version is installed, and if it's not, it's
automatically updated. Is this wrong, or does it only apply to the
newer versions of Java?
I think that is a browser thing with the object tag. Not a Java thing.
But yes - something like that is possible. If people will do it
and have access to download and install.
Arne