Encypting config.php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sinjix_media
    Senior Member
    • Apr 2006
    • 199
    • 3.5.x

    Encypting config.php

    My hosting is provided by a friend of mine. The same password that i use for pretty much everything i do it right there in the config.php for him to see if he wanted to log into my account and see it. Hes a friend, bu ti dont want him to know that password. Is there a way of encrypting this pass?
    3D Resources - A list of resources for 3D Developers
    After Effects Resources - A list of resources for design in motion with Adobe After Effects
  • Scott MacVicar
    Former vBulletin Developer
    • Dec 2000
    • 13286

    #2
    Unfortunately not even if you used Zend Encoder someone can simply do

    require_once('/home/path/to/config.php');
    print_r($config);

    I do believe that the latest MySQL might support encrypted passwords it but there isn't any PHP mechanism for using it since the client library does it internally.
    Scott MacVicar

    My Blog | Twitter

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...