The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

writing own plugin safe passwords in it

Discussion in 'Security' started by Mrg, May 29, 2015.

  1. Mrg

    Mrg Member

    Joined:
    Feb 8, 2012
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    i want to write a plugin to connect to remote database.
    i have to store the password.
    how can i do this safe? in the plugin file like myplug.live.php it is not safe.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,852
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. Mrg

    Mrg Member

    Joined:
    Feb 8, 2012
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    ok, but we have the same problem with connect to an external api. we do not want to safe the api key in the wordl readable plugin file. how can we resolve this?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,852
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you provide an example of how you prefer to authenticate?

    Thank you.
     
Loading...

Share This Page