Re: java.security.AccessControlException issue
- From: "merrittr" <merrittr@xxxxxxxxx>
- Date: 23 Mar 2007 13:17:53 -0700
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
.
- Follow-Ups:
- Re: java.security.AccessControlException issue
- From: Andrew Thompson
- Re: java.security.AccessControlException issue
- From: Tom Hawtin
- Re: java.security.AccessControlException issue
- References:
- java.security.AccessControlException issue
- From: merrittr
- Re: java.security.AccessControlException issue
- From: Tom Hawtin
- java.security.AccessControlException issue
- Prev by Date: Re: java.sun.com down?
- Next by Date: Re: java.security.AccessControlException issue
- Previous by thread: Re: java.security.AccessControlException issue
- Next by thread: Re: java.security.AccessControlException issue
- Index(es):
Relevant Pages
|