Re: java.security.AccessControlException issue



Yep I am using jdk 1.1.8 , that is what this applet requires (its the
adobe java pdf viewer).
So how do I get a java applet to request only the access I need namely
read a pdf file on my web-servers file system?


On Mar 23, 11:43 am, Tom Hawtin <use...@xxxxxxxxxxxxxxxxx> wrote:
merrittr wrote:
I have a simple java program that reads a file from the OS filesystem
like this:

The important point is that it's an applet. As such it runs in a
sandbox, so it can't interfere with your files, or in this case System
properties.

what I get from the JAVA console is:

Netscape security model is no longer supported.
Please migrate to the Java 2 security model instead.

I believe the applet is trying to use the very old Netscape security
API, which required the applet to request the permissions it was going
to use (typically, applets would ask for everything, which completely
missed the point).

Tom Hawtin


.



Relevant Pages

  • Re: JDK versions in major browsers
    ... > For example, for the security model, to control applet access, ... > do we need to detect what JDK so that to applet different security ... Java Plug-in architecture. ... Brad BARCLAY ...
    (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)
  • 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)