Re: JDK versions in major browsers

From: Brad BARCLAY (bbarclay_at_jsyncmanager.org)
Date: 10/29/03


Date: Wed, 29 Oct 2003 01:16:18 GMT

Jun wrote:
> Brad, great anwser!
> But how do people deal with this complicate situation?
> For example, for the security model, to control applet access,
> do we need to detect what JDK so that to applet different security
> model or simply use old model like JDK1.0 so that it works with all?
>
> How can people make use of the latest technology like domain from JDK
> 1.2 Security Model under
> the complicate environment?

        You deal with it in the usual way -- specify a minimum Java Runtime
level that is required to run your applet. Add code to your applet to
check the JRE level to ensure it meets the minimum requirements, and
display a message if it doesn't.

        If you're coding for Java 1.3 or better, then you can rely upon the
Java Plug-in architecture. Java Plug-in uses an <EMBED> tagset instead
of the old <APPLET> tag that Java 1.0 and 1.1 used (I don't recall at
the moment what Java 1.2 used -- I completely skipped that version in my
development works). If the user doesn't have the required minimum Java
level you specify, then point them to where they can download the Java
Plug-in, and have them do so.

        It's really no different than requirements management for any other
software development project -- just be aware that the JVM isn't really
part of the browser (even if it shipped as such on Windows for a time --
Windows is, for the most part, an anomoly in this regard).

Brad BARCLAY

-- 
=-=-=-=-=-=-=-=-=
 From the OS/2 WARP v4.5 Desktop of Brad BARCLAY.
The jSyncManager Project:  http://www.jsyncmanager.org



Relevant Pages

  • Embedded WMP Player Java Applet
    ... Also I have discovered this Applet is only signed by MS ... Opera, you will be disappointed & get the message in the ... Opera Java Control Panel: Please upgrade to the Java 2 ... >Netscape security model is no longer supported. ...
    (microsoft.public.windowsmedia.player.web)
  • Re: java.security.AccessControlException issue
    ... adobe java pdf viewer). ... So how do I get a java applet to request only the access I need namely ... Please migrate to the Java 2 security model instead. ...
    (comp.lang.java.programmer)
  • Technical information about the vulnerabilities fixed by MS-02-52
    ... The patch doesn't fix all of the vulnerabilities we reported, ... Java support in the Internet Zone even after applying the patch gives the ... possibility for a malicious Java Applet to gain control over the system. ... Our original report and information regarding the remaining Java ...
    (NT-Bugtraq)
  • Technical information about the vulnerabilities fixed by MS-02-52
    ... The patch doesn't fix all of the vulnerabilities we reported, ... Java support in the Internet Zone even after applying the patch gives the ... possibility for a malicious Java Applet to gain control over the system. ... Our original report and information regarding the remaining Java ...
    (Bugtraq)
  • [Full-Disclosure] Technical information about the vulnerabilities fixed by MS-02-52
    ... The patch doesn't fix all of the vulnerabilities we reported, ... Java support in the Internet Zone even after applying the patch gives the ... possibility for a malicious Java Applet to gain control over the system. ... Our original report and information regarding the remaining Java ...
    (Full-Disclosure)