# checkXXX security exceptions

Jatin Patro (jepatro@fedex.com)
Wed, 20 May 1998 16:59:13 -0500

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Marianne Mueller: "Re: checkXXX security exceptions"
- Previous message: Zhang xiaolin: "For help ----- Signed applet & Java Plug-in"
- Next in thread: Marianne Mueller: "Re: checkXXX security exceptions"

    Message-Id: <199805202204.AA01200@gateway.fedex.com>

    Date: Wed, 20 May 1998 16:59:13 -0500

    From: Jatin Patro <jepatro@fedex.com>

    To: java-security@web2.javasoft.com

    Subject: checkXXX security exceptions

Hi there,

I tried to find an answer on your security Q&A archive, but didn't
succeed. I successfully signed an applet that attempts to access Sybase
database by communicating with server side code thru a socket
connection. The applet also attempts to read, write, and print files on
the user's machine. The read, write and print functionality are provided
using the corresponding dialog boxes.

At this time, the applet code resides on my PC (using Windows '95, JDK
1.1.5, Java Plug-in 1.1 , Java Plug-in HTML Converter, and Communicator
4.05). I followed your suggested procedure to sign my applet using
javakey. I saved the identity, keys, etc. in the identitydb.obj file. I
used the plug-in to convert the applet's HTML file. All access to user's
file system is provided from buttons on frames that can be opened by
clicking a button on the applet's main page, so the applet loads fine
but the problem starts only when a button on the frame is clicked -- the
security exception displays on the console window at this stage.

The problem I am facing is that neither the appletviewer nor Netscape
can recognize the applet as being signed. They generate checkRead,
checkWrite, checkGetPrintJob, and checkconnect.networkhost1 security
exceptions when reading a file, writing to a file, printing, and
creating a socket connection, respectively. I tried adding the
identitydb.obj file's path to all the java.security files I could find
on my PC. That didn't help. I even made copies of the identitydb.obj
file in various directories but it didn't help. What am I doing wrong???
Hope somebody can help me get rid of my headache -- I've already spent
days on this!

Thanks.

-----------------
Jatin Patro
(901)224-5508
jepatro@fedex.com
-----------------

- Next message: Marianne Mueller: "Re: checkXXX security exceptions"
- Previous message: Zhang xiaolin: "For help ----- Signed applet & Java Plug-in"
- Next in thread: Marianne Mueller: "Re: checkXXX security exceptions"