Results 1 to 2 of 2
Thread: Java Applets
- 04-02-2010, 12:21 PM #1Member
- Join Date
- Apr 2010
- Rep Power
: I have created a Java Applet Program, which connect to an Oracle
: database, it can run without any probem, but the problem arises when
: i want to run an HTML (IE)file, the applet gets downloaded to the
: page but it does not connect to the database, Can some one please
: help me as i want to put it on a server so that everyone can use it.
Don't directly connect to a database from the client. That is a security disaster in waiting, especially, but not only, if the DB has admin privileges. Instead write a small server or app in a web server to take requests from the client, then that server filters the request, connects to the database and returns the specified data.
The database probably only accepts connections from loopback, which for simple web server setups is the way to go.
Unless the applet is signed, it can only make a network connection back to the same IP address.
- 04-02-2010, 01:16 PM #2
- By Bomber_Will in forum Java AppletsReplies: 2Last Post: 01-15-2010, 01:41 AM
- By SecurityCop in forum Java AppletsReplies: 7Last Post: 11-27-2009, 11:34 PM
- By willemjav in forum Java AppletsReplies: 3Last Post: 02-07-2008, 01:36 AM