Article View: borland.public.jbuilder.java.language
Article #15380Re: PROBLEMS WITH writeObject
From: MJR
Date: Tue, 15 Jun 1999 00:00
Date: Tue, 15 Jun 1999 00:00
7 lines
1960 bytes
1960 bytes
Nothing I do seems to work. I tried to modify my policy file in my java
directory (jdk1.2.1\jre\lib\security\java.policy) to include FilePermissions
to read and write, but I still got security exceptions trying to write
files. I then deleted a PropertyPermission from the policy file
("java.version") and then tried to access this property in my applet, hoping
for a security exception. But of course, my policy changes were ignored.
Does anyone know if I'm editing the correct policy file?
Technical Details
Message-ID:
<7k6acr$t02$1@mailint03.im.hou.compaq.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7k3s2m$g7b$1@mailint03.im.hou.compaq.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d6b,4ad6f7ebbc681875 X-Google-Attributes: gid111d6b,public X-Google-Thread: f74b3,4ad6f7ebbc681875 X-Google-Attributes: gidf74b3,public X-Google-Thread: f5d71,4ad6f7ebbc681875 X-Google-Attributes: gidf5d71,public X-Google-Thread: 115d3b,4ad6f7ebbc681875 X-Google-Attributes: gid115d3b,public X-Google-Thread: fecd1,4ad6f7ebbc681875 X-Google-Attributes: gidfecd1,public X-Google-Thread: 113ae9,4ad6f7ebbc681875 X-Google-Attributes: gid113ae9,public X-Google-Thread: 10a146,4ad6f7ebbc681875 X-Google-Attributes: gid10a146,public X-Google-Thread: 10bb9b,4ad6f7ebbc681875 X-Google-Attributes: gid10bb9b,public From: "MJR" <Rao.Mohith@compaq.com> Subject: Re: PROBLEMS WITH writeObject Date: 1999/06/15 Message-ID: <7k6acr$t02$1@mailint03.im.hou.compaq.com> X-Deja-AN: 489969610 References: <7k3s2m$g7b$1@mailint03.im.hou.compaq.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0 X-Complaints-To: usenet@mailint03.im.hou.compaq.com X-Trace: mailint03.im.hou.compaq.com 929475803 29698 172.18.100.18 (15 Jun 1999 19:43:23 GMT) Organization: Compaq Computer Corp. NNTP-Posting-Date: 15 Jun 1999 19:43:23 GMT Newsgroups: borland.public.jbuilder.java.language,comp.lang.java,comp.lang.java.api,comp.lang.java.help,comp.lang.java.machine,comp.lang.java.misc,comp.lang.java.programmer,comp.lang.java.security,microsoft.public.inetexplorer.ie4.java_applets,microsoft.publ