Home » Community » Newbie corner » Encrypting password in .ini file with aes
Encrypting password in .ini file with aes [message #45133] |
Sat, 12 September 2015 16:46  |
Giorgio
Messages: 218 Registered: August 2015
|
Experienced Member |
|
|
HI there,
I created my small application interacting with a MySQL database. Currently user and password are embedded in the source code. I would like to put them in an .ini file but I do not like to have the password in plain text. I decided to use AESstream to solve this problem. My concern is that I need the key in the source code to properly decode the password in the .ini file, so at the end of the day it is more or less the same than having the password in the source code (i.e. in the same way as a malicious user could decompile the source code to get the password, he could do the same to get the key and then decode the .ini file). What could be the right approach?
Thanks,
Giorgio
|
|
|
|
|
Goto Forum:
Current Time: Sat Apr 26 20:38:58 CEST 2025
Total time taken to generate the page: 0.00897 seconds
|