securing the php mysql password?

petter7252

Member
Joined
Feb 19, 2008
Messages
26
So i have been searching for a way to secure the mysql password in the php.ini, but i can only find difficult ways on how to do it.

Anyone got an easy step by step on how to make the mysql password in the php.ini file?

I have heard that hash is the easiest way to go, but how does it comunicate with the mysql sever with just random signs? is there more i gotta do for the hash to work?
 
I've never used php.ini to store mysql user info and password. php.ini is not accessible uless you have php setup in the webroot so that should be secure in itself. If you plan on sharing the box with other users that have admin access, not a good idea, then it would be a good idea to encrypt it.
I have never done it so I can't help with this.
 
Back
Top