The Artima Developer Community
Sponsored Link

Legacy Jini Forum
Adding UIs to Jini Services



This page contains an archived post to the Jini Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


security exception using SQL

Posted by zhita on August 19, 2000 at 6:55 PM

> > hi,

> >
> > i want to access a sql database from my applet display a particular field in a test area,the sql server resides on a different computer across the network
> > when i run my applet i get AccessControlException runtime
> > with secruity..etc
> > what should i do?
> > waiting for ur reply

I'm trying to resolve the same problem, you can sign your applet code, then give permission to read from the server tne server must give you permission to read from disk. Maybe you must read in the security page in sun site. The server must give permission to connect to the apropiate port. If you are using Java 1.2 then maybe you have to install the plugin.


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us