MySQL Forums
Forum List  »  Security

Only login with SSL
Posted by: Anestis Sismanidis
Date: August 27, 2009 01:16AM

Hello everyone!

I have a java application that connects directly to a mysql database (through the Internet). If someone would decompile the application, then he/she would have access to the username/password that the application uses to connect.

I was thinking that if I could sign the jar with a certificate and make mysql require that certificate (along with username/password) then even if someone could decompile the jar, he/she would not be able to use the username/password to connect to the database.

The question:
Is it possible to make mysql require a certificate (probably with SSL) in a way that SSL is used only when connecting (for better performance)?

I don't need to encrypt anything after connecting because the data is not that sensitive.

Thanks in advance

Options: ReplyQuote


Subject
Views
Written By
Posted
Only login with SSL
4495
August 27, 2009 01:16AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.