954,483 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Securely store MySQL password in application?

Hi people.

I'd like to use MySQL in my application - would be an easy way for me to store users.

But then I'd have MySQL credentials in my app, visible for everyone with a HEX editor, I'd suppose?

And even though that MySQL user will have low privileges, then still too much info would be accessible.

Is there a secure way to use MySQL, or would I have to make my own server app, as a relay?

Thank you :)

Excizted
Posting Whiz
309 posts since Oct 2009
Reputation Points: 94
Solved Threads: 27
 

Probably not. I suppose you could keep it encrypted, but even that will not prevent some smart hacker from decrypting the password. There really is no bullet-proof way to save passwords, anywhere except in the human mind.

Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

I supposed so as well. Guess I'll just have to stop being lazy and make that server.

Thank you.

Excizted
Posting Whiz
309 posts since Oct 2009
Reputation Points: 94
Solved Threads: 27
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You