access denied <java.lang.RuntimePermission accessClassInPackage.sun.jdbc.>

When i am running my applet program with database the following message is displayed in command prompt ." access denied <java.lang.RuntimePermission accessClassInPackage.sun.jdbc.odbc> "Above program is running fine without applet i.e. normal java application
[286 byte] By [Atmaling_Kshirsagara] at [2007-11-26 20:19:10]
# 1

@OP

Well this is bound to happen my friend..In general are designed to be more secure & don't have adequate access to System(Fils,Audio,SSL,Native Code,Database.. & etc) resources.

Well need sign the applet inorder to do that.

you may go through the link given below to which provides details about siging an applet.

http://java.sun.com/docs/books/tutorial/security/tour1/step1.html

http://download-east.oracle.com/docs/cd/B14117_01/java.101/b10979/applet.htm#i1004498

(An advice)It is not a gud practise of using vunerablities where there is a security restrcition... we might quite often mishandle resources in this case.

Hope this might be of some help :)

REGARDS,

RaHuL

RahulSharnaa at 2007-7-10 0:42:56 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...