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!

Folder password protection help?

Discussion in 'General Discussion' started by Renek007, Dec 11, 2009.

  1. Renek007

    Renek007 Registered

    Dec 11, 2009
    Likes Received:
    Trophy Points:
    I would like to have a folder accessible by password only.

    I put a file named photo in my public HTML folder. When I enter the domain name in my browser, I get to files that show up.

    -Photo folder
    -CGI bin

    Then I put a password protection on the photo folder, entered the domain name in my browser, and the only file that shows up is the

    -CGI bin

    How do I get the photo folder to show up and have a password requirement
    for people that click on it.

    Maybe I'm going about it the wrong way..

  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    May 20, 2003
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Your host should be able to help you out with this.

    Short of that you might want to add some sort of page to the public_html directory. You can create a very simple page using only notepad if that's all you have. Open notepad, type in something like Coming Soon and save the file naming it index.html upload that to the public_html directory. Now when you visit your domain name you will not see that cgi-bin.

    If you have a directory named Photo folder, insdie your public_html directory, and you've placed a pasword on it correctly and it's not working right, you might try removing that password, renaming that directory to photofolder (removed the space) and reset the password via your cPanel once again.

    Now try to access the URL and you should be prompted for a password as you want, to have access to that directory.

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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