JDBC Connectivity

Perry DiMarco (pdimarco@ascllp.com)
Sun, 26 Oct 1997 22:38:29 -0600

Date: Sun, 26 Oct 1997 22:38:29 -0600
From: pdimarco@ascllp.com (Perry DiMarco)
To: java-security@web2.javasoft.com
Subject: JDBC Connectivity

This is a multi-part message in MIME format.
--------------7CF6BB00334DFC58C720A480
Content-Type: multipart/alternative; boundary="------------30823F18714519CBEFBFD41C"

--------------30823F18714519CBEFBFD41C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I am using Sybases Jconnect, a 2 tier JDBC implementation. I am trying
to use a sample applet. When I use the applet with appletviewer, the
applect connects to the DB and works perfectly.

When used through the HTTP site and Netscapes Communicator 4.03, I
receieve

Unexpected Exception: netscape.security.AppletSecurityException:
security.Couldn't connect to 'asc1' with origin from
'local-classpath-classes'.
# UniversalConnect privilege not enabled: Contacting and connecting
with other computers over a network

I get similar errors when using Oracles two tier JDBC Implementation.

Please help thanks

PS I read a FAQ about using the exact host name of the machine where the
page was loaded from, and that didnt work. i.e. if the web servers URL
is www.asc.com then the applet should use www.asc.com to connect.

Also I should mention that I am do all of this from one machine. But I
am still using the HTTP server.

- Perry

--------------30823F18714519CBEFBFD41C
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

I am using Sybases Jconnect, a 2 tier JDBC implementation. I am trying to use a sample applet. When I use the applet with appletviewer, the applect connects to the DB and works perfectly.

When used through the HTTP site and Netscapes Communicator 4.03, I receieve

Unexpected Exception: netscape.security.AppletSecurityException: security.Couldn't connect to 'asc1' with origin from 'local-classpath-classes'.
#  UniversalConnect privilege not enabled: Contacting and connecting with other computers over a network

I get similar errors when using Oracles two tier JDBC Implementation.

Please help thanks

PS I read a FAQ about using the exact host name of the machine where the page was loaded from, and that didnt work. i.e. if the web servers URL is www.asc.com then the applet should use www.asc.com to connect.

Also I should mention that I am do all of this from one machine. But I am still using the HTTP server.

- Perry --------------30823F18714519CBEFBFD41C-- --------------7CF6BB00334DFC58C720A480 Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Perry DiMarco Content-Disposition: attachment; filename="vcard.vcf" begin: vcard fn: Perry DiMarco n: DiMarco;Perry org: Applied Solutions Consulting email;internet: pdimarco@ascllp.com title: Partner note: www.ascllp.com x-mozilla-cpt: ;0 x-mozilla-html: FALSE version: 2.1 end: vcard --------------7CF6BB00334DFC58C720A480--