Re: Using Informix JDBC Proxy under Netscape 4.5
Posted in 1999
Topics: Connectivity: ODBC / JDBC / .NET, Networking & sqlhosts Configuration, Java & JDBC Development
Hello Michael, I'll clarify what I'm doing --- I'd like to have an applet on my web page connect to a database on a different machine (not the user's machine, and not the web server). The use of Informix's "JDBC Proxy" is supposed to allow this. The proxy is a Java Servlet running on the same machine which runs the web server. When using the Informix JDBC client, there is an optional "proxy" parameter which specfies this machine and port number. The Informix JDBC client then contacts the proxy as a regular http URL (which should be allowed since it is on the same machine as the web server), and then the proxy (i.e. the servlet) makes the actual database connection, gets the result(s), and passes them back to the client. This is producing a security violation in Netscape 4.5, with or without the Java Plug-In. I am trying to deal with this at this point by using a signed jar and having the client user "grant" the additional privileges necessary to make any network connections. Once I get this set up, the client could actually connect directly to the database, without using the proxy. However, I would prefer to use "plain" jar files (unsigned) and the proxy, without having to deal with the client security issues at all. Carl Michael Segel writes: > > Uhmm Carl... > > If I understand correctly you want the following... > > A client requests a web page that returns with your applet. > The applet then wants to make a database connection on a third machine? > > If thats the case, it can't be done because of the restrictions on an > applet. > > If the Informix server is on the same machine as the web server, > then the other issue is the use of a java 1.2 class with a 1.1 JVM. > > Why don't you contact me off line. I may be missing something here. > > -Mikey