How to securely communicate with a database using a java applet

Posted by WarmWaffles on Stack Overflow See other posts from Stack Overflow or by WarmWaffles
Published on 2010-03-26T08:21:45Z Indexed on 2010/03/26 8:33 UTC
Read the original article Hit count: 304

Filed under:
|
|
|

I have been writing web applications for quite sometime in PHP with MySQL. I always stored my database connection information into a configuration variable and connected to the database that way.

A client wants a java applet for their website to communicate with their database. I'm very hesitant on this because the applet is going to be public and I am not sure how I would go about storing the database connection information.

I'm paranoid that someone would decompile my application or find some way to extract my database connection information and use it maliciously.

Any suggestions on how to do this securely?

© Stack Overflow or respective owner

Related posts about java

Related posts about applet