Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Sep 2005
    Posts
    17

    Default web protection password limit

    I have password protected directories and one of this directories have 20 characters long password. But I am writing first 10 characters and I can reach the data.

    How can I increase the password character limit to 30?

    Thank you

  2. #2
    Member
    Join Date
    Oct 2005
    Posts
    21

    Default

    Sorry to bring this issue back up ('05 issue with no answer), but I've had this problem as well. When assigning a password to a web-protect user on one particular server we have, cPanel throws an error saying:

    "The following error(s) occurred: A limit of the max characters in the password field to 8 characters."

    This is only happening on one of many servers, and I didn't find anything searching the forums. Anyone have any information?

  3. #3
    Member manokiss's Avatar
    Join Date
    Mar 2002
    Posts
    536

    Default

    SAme problem here, wondering if someone could confirm if this is a new limit or if is a bug or something else.

    Thank you!

  4. #4
    Member brianoz's Avatar
    Join Date
    Mar 2004
    Location
    Melbourne, Australia
    Posts
    1,117
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    The password length limitation is caused by the password encryption cpanel is using for the Apache authentication. It's been around forever - it's actually a limitation of the system library call crypt(3).

    Presumably some apache's won't have it, depending on whether the underlying library call has been fixed or not.

    If you are relying on Apache basic auth, you'll need to recompile Apache to get the length extended - using either a different version of the crypt call or some other Apache option.

    You could use longer passwords if you did session based authentication, and I think that could probably be made to look the same way to a user.

  5. #5
    Member manokiss's Avatar
    Join Date
    Mar 2002
    Posts
    536

    Default

    Thank you!

Similar Threads & Tags
Similar threads

  1. Password Protection Gone
    By PDW in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-15-2005, 12:49 PM
  2. web root protection ?
    By Radio_Head in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 09-05-2003, 06:57 PM
  3. Index Manager/Password Protection on Root Web Directory?
    By Jeff75 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-21-2003, 10:40 AM
  4. Password Protection
    By Impuls3 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-21-2003, 04:41 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube