Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Password Protect Subdirectory

Discussion in 'General Discussion' started by jeanie, Jul 17, 2006.

  1. jeanie

    jeanie Member
    PartnerNOC

    Joined:
    Feb 19, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    151
    We have a client who wants to protect /home/user/public_html/shop/admin/ using htacess/htpasswd. He doesn't want to do this manually. He must be able to do it through cPanel.

    Unfortunately, the cPanel area to "Password Protect Directories" only seems to allow him (and me) to get to /home/user/public_html/shop/.

    Am I missing something that should be completely obvious? Or is there not a way to password protect this subdirectory?
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    166
    You can password protect, through cPanel, any sub/sub/subdirectory although it's not immediately obvious how.

    When you select a directory, you are presented with an option to password protect it. But then at the bottom, to the left, is a link: Back to /home/user/current/path/. Select that link to then select a subdirectory. And repeat until you get to the desired level.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. jeanie

    jeanie Member
    PartnerNOC

    Joined:
    Feb 19, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    151
    Ahhhh...

    Thank you. :)
     
    #3 jeanie, Jul 17, 2006
    Last edited: Jul 17, 2006
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice