Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 1 of 1
  1. #1
    Member
    Join Date
    Apr 2008
    Location
    sanctum sanctorum
    Posts
    152

    Default CPanel password protect directories, failure if symbols < or > are used

    If the password generated by CPanel >> Password Protect Directories >> Password generator contains less than (<) or greater than (>) symbols, then the password will not work. However, the generator routinely includes these if "Symbols" box is selected. If you want your passwords to work, exclude this symbol.

    Test case:
    1) Password protect a directory using CPanel interface
    2) Create a user with the user name: "test" and the password: "test>"
    3) Visit password protected resource and use credentials in step 2

    [FYI]
    Since neither man htpasswd nor the Apache AAA manual [1] gives such a limitation, this must be due to CPanel implementation, and I reckon it has something to do with input sanitization removing angled brackets.
    [/FYI]


    [1] http://httpd.apache.org/docs/2.2/howto/auth.html
    Last edited by thobarn; 03-28-2009 at 09:54 PM.

Similar Threads & Tags
Similar threads

  1. Place limit on password protect directories function for cPanel
    By dibarra in forum Archived Feature Requests
    Replies: 1
    Last Post: 01-11-2011, 05:23 PM
  2. Replies: 10
    Last Post: 06-24-2010, 01:12 PM
  3. problem with Password Protect Directories in cpanel
    By Complixy in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 12-15-2009, 09:05 PM
  4. Password Protect Directories
    By Jump Network in forum Security
    Replies: 2
    Last Post: 07-07-2008, 11:09 AM
  5. Password protect directories
    By futuron in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-11-2005, 12:11 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube