It's not a secret anymore!*
The moose likes JDBC and the fly likes access control exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "access control exception" Watch "access control exception" New topic
Author

access control exception

David N
Greenhorn

Joined: May 30, 2002
Posts: 3
Hi All,
I have this applet that reads a MS-Access database. At first it was not working. then
I set up java.policy, so then the applet can access the database and it works.
I run the applet on InternetExplorer by applet's url.
So as all these are on same computer it is working.
But once I try to run it from other computer on the LAN or internet, it gives the following error:
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.jdbc.odbc)
What I am misssing here?
Thanks
David
[ May 30, 2002: Message edited by: David N ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: access control exception
 
Similar Threads
Applet Database Connection
Using JDBC with an applet
Java Database Applet
using JDBC in applets - security exception
Can applet access database directly?