What is the best way to secure MySQL database access password in a PHP application?

Please explain how to secure a MySQL database access password in a PHP application to avoid unwanted access.

Comments

  • Best thing it to keep the database user password in a configuration file. Then secure it with limited access.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion