Password security | Sololearn: Learn to code for FREE!

0

Password security

I made a web page and I used PHP to connect to MySQL , my question is how can I hide the password or encrypt it because I think it is incorrect show the password in the code.

1/7/2017 7:00:31 PM

Eduardo Hernandez

3 Answers

New Answer

+5

but you never show it in any page, you just recive it and compare it to database.

0

if you mean the DB Password, you should house it somewhere other than the www or public directory. Then include the connection data to your database scripts.

0

thanks for your answers!