Is it possible to encrypt the mysql password?

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Dexxa
Posts: 1
Joined: Mon May 14, 2012 3:28 am

Is it possible to encrypt the mysql password?

Post by Dexxa »

Hello out there,

we are using cacti for several years now and feel very comfortable with it. :D
But now we are getting problems with internal audit, because there is the clear text password of the database connection in the config.php file. :o

Is it possible to use an encrypted password?? What modifications are necessary to make this possible?

Thank you form your help!!
cigamit
Developer
Posts: 3374
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Is it possible to encrypt the mysql password?

Post by cigamit »

Depends on how complex you want to get. Honestly, if someone has access to see the config.php they should either be completely trusted, or you have bigger problems on your hands.

$database_password = base64_decode('U2VjdXJpdHlBdWRpdHNBcmVBV2FzdGVPZlRpbWU=');
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests