To: java-security@web2.javasoft.com
Message-Id: <971017202849.n0000047.anjali@mail.clara.net>
From: Anjali Goel <anjali@clara.net>
Subject: Please help!!!
Date: Fri, 17 Oct 97 20:28:49 BST
Dear Sir,
I am trying to find an answer to the below mentioned question for three
weeks now! Please could you help me as I have to show this project to my
superviser by 25th of October.
I am trying to connect to the Access97 database via the unsigned applets.
Even though the applets and the database are on the same machine, I am still
unable
to access the database through the hotjava 1.1 beta 2 browser. When I
customised the
browser to minimum security level (i.e to show unsigned untrusted applets) I got
the
following exception:
Security Exception: cannot access package: java.awt:
sunw.hotjava.applet.AppletSecurityException: checkpackageaccess
at
sunw.hotjava.security.PolicyUntrusted.checkPackageAccess(PolicyUntrusted.java:2
60)
at
sunw.hotjava.security.SecurityPolicy.checkPackageAccess(SecurityPolicy.java:426
)
at
sunw.hotjava.applet.AppletClassLoader.loadClass(AppletClassLoader.java:324)
at
sunw.hotjava.applet.AppletClassLoader.loadClass(AppletClassLoader.java:303)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at Packages.<init>(Packages.java:11)
at sunw.hotjava.applet.AppletPanel.createApplet(AppletPanel.java:498)
at sunw.hotjava.applet.AppletPanel.runLoader(AppletPanel.java:422)
at sunw.hotjava.applet.AppletPanel.processEvent(AppletPanel.java:299)
at sunw.hotjava.applet.AppletPanel.run(AppletPanel.java:284)
at java.lang.Thread.run(Thread.java:474)
However, all the applets work in the appletviewer. I am using JDK 1.1 compiler.
I am new to java and jdbc
and have very little knowledge of security restrictions.
Could you please answer my question as soon as possible. Thankyou for your
time.
Bye,
Anjali
(goel@compsci.bristol.ac.uk)