Re: Help me It's again javakey!!!!!

Jan Luehe (luehe@laguna.eng.sun.com)
Fri, 11 Dec 1998 09:40:55 -0800 (PST)

Vivek:

IE and appletviewer use different security architectures.
In order to use the JDK VM and security architecture in your
IE browser, you have to use the Plug-in.

See

http://java.sun.com/products/plugin/

and
http://java.sun.com/security/signExample/

for more details.

Jan

> Problem : - My applet is not able to local file system.
>
> What i Did : -
>
> 1. The source is attached down
> 2. compiled the source file
> 3. created identifier(signer) using
>
> javakey -cs "vivek" true
>
> 4. created public key and private key using
>
> javakey -gk "vivek" DSA 512 viv_pub viv_priv
>
> 5. Generated certificate using
>
> javakey -gc cert_directive
>
> cert_directive file is attached down
>
> 6. created jar file using
>
> jar -cvf read.jar readFIle*
>
> 7. Signed the jar file using
>
> javakey -gs sign_directive read.jar
>
> The sign_directive file is attached down
>
> 8. mkdir read
>
> 9. move readFile.jar.sig \read\read.jar
>
> 10. jar xf read.jar
>
> 11. run the readFile.html
>
>
> result :
>
> Readfile: caught security exception file
:/C:/vivek/java/read/read/userinfo.ini
>
>
> But the same runs perfect with appletviewer....
>
> I am using internet explorer
>
> Please help me in solving this problem Thanks in advance..
>
>
> bye,
> vivek
>
>
>
>
>
>
>