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.

password strength

Discussion in 'Security' started by leonep, Apr 17, 2015.

  1. leonep

    leonep Well-Known Member

    Joined:
    Nov 18, 2014
    Messages:
    46
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Pescara
    cPanel Access Level:
    Root Administrator
    Hi
    where i can have information about password strenght level ?

    i need for automatic creation of accounts on my own management site

    i need to validate password fields provided by users and check if is 50 or more

    thanks
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  3. leonep

    leonep Well-Known Member

    Joined:
    Nov 18, 2014
    Messages:
    46
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Pescara
    cPanel Access Level:
    Root Administrator
    I am registering new users i don't want to force existing passwords. The user compile my form and i want to validate before saving in my database. After i use these record for create an account in cpanel using API. So before save the password in my database i want to know if the password is good for cpanel
     
  4. leonep

    leonep Well-Known Member

    Joined:
    Nov 18, 2014
    Messages:
    46
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Pescara
    cPanel Access Level:
    Root Administrator
    It seems that this function return the required password strenght for an application (like ftp in the example).
    i need to know if mypassword is good for the application.
    for example i have minum required level 50 per ftp passwords.
    my user choose a password and i want check if is 50 or more
     
  5. leonep

    leonep Well-Known Member

    Joined:
    Nov 18, 2014
    Messages:
    46
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Pescara
    cPanel Access Level:
    Root Administrator
    I found another function called get_password_strength . It is possibile to compare values returned from get_password_strength and the other function posted by Micheal. It sure will work !
    Thank you very much
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page