Link to home
Start Free TrialLog in
Avatar of MrTV
MrTVFlag for Thailand

asked on

php in windows

I have a php code run on windows I have only one machine i dont want my staff to know password  how can i conceal config.php which keep my sql user name and password from mystaff
Avatar of Brad Brett
Brad Brett
Flag of United States of America image

You will have to store the username and password in more secure place, I recommend you to store them in database and use MD5 hash.
Avatar of MrTV

ASKER

Hi Medo3337
 If i encript it only that file it work or not and how can i encrypt it
thank
ASKER CERTIFIED SOLUTION
Avatar of Brad Brett
Brad Brett
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I think what teera needs is prevent others from viewing his "MySQL Account" (which is written in config.php to connect to DB)
If I'm right, then teera needs some kind of sourcecode encoding, so that other can't view it.

Some recommendation: Ioncube, Zend Guard (all non-free unfortunately)
Avatar of MrTV

ASKER

Hi experts

Are there any software is free I need only encript 2 or 3 file
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Encrypt and store in config file... the simple one
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Put config.php in a folder and set the access permissions for that folder, so your staff wouldn't be able to access it.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial