Date: Mon, 3 Mar 1997 23:23:00 -0800
Message-Id: <199703040723.XAA07067@puffin.eng.sun.com>
From: Marianne Mueller <mrm@eng.sun.com>
To: aris@epsilon.enet.gr
Subject: Re: APPLET SECURITY
Dear Aris,
The files you should download, to see how applet signing works, are
found either on the web site, or on our ftp site, ftp.javasoft.com.
Perhaps it would be easier for you to use the ftp site. Here's the
steps.
% ftp ftp.javasoft.com
Name: anonymous
passwd: youremailaddress
ftp> cd docs/security/signExample
ftp> binary
ftp> prompt
ftp> mget *
ftp> quit
This way, you will get the Duke.x509 certificate that you need, and
the signedWriteFile.jar file and signedWriteFile.html file that you
need.
Since you mention the writeFile.html, I surmise that you are trying to
using the files that are *not* signed.
The 3 basic steps are
1. Create the identity in your local database
% javakey -c "Duke" true
2. Import Duke's certificate
% javakey -ic "Duke" Duke.x509
3. Run the signed JAR file
% appletviewer signedWriteFile.html
I hope this works for you,
Marianne
> From: "Aristides Paliouras" <aris@epsilon.enet.gr>
> Date: Thu, 27 Feb 1997 18:30:36 +0200
> X-MSMail-Priority: Normal
> X-Priority: 3
>
>
> Dear sirs,
>
> I have written an applet and I want it to read a
> certain file from my local disk. I have tried every
> possible solution I found in your Site about javakey ,
> JAR , java.lang.security. I even downloaded
> writeFile.class and writeFile.html from Javasoft site
> that supposedly let the applet write to a file given
> that one executed the instructions ( that is : javakey
> and jar commands ) in order to give the applet this
> permission. It didn't work out. Could you please send
> me information about how I can let my applet read a
> local file? I am working on it for two weeks and
> nothing seems to work. Please send me EXACT
> instructions.
>
> I am looking forward to hearing from you,
>
> Aristeidis Paliouras
>
>
>