Quantcast
Viewing all articles
Browse latest Browse all 37

Comment by JohnP on Hide Database Login Information in PHP Code

The safest way to deal with is to have a mykeys.php.sample file that lists all of the keys that the app uses with all of the values empty. The values can either then be manually filled in by the user on the deployment machine. The other option is to use a script and populate the values as environment variables. You can then keep the script out of your version control as well.

Viewing all articles
Browse latest Browse all 37

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>