Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Dec 2009
    Posts
    1

    Default Folder password protection help?

    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..

    Rene

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,892
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    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 yourdomain.com/photofolder/ and you should be prompted for a password as you want, to have access to that directory.

    GL

Similar Threads & Tags
Similar threads

  1. folder protection problem
    By tttomasz in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 02-11-2010, 01:47 AM
  2. Replies: 1
    Last Post: 07-04-2009, 02:04 PM
  3. php / .htaccess integration? Folder Protection?
    By justhost in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-10-2007, 08:41 AM
  4. Password Protection Gone
    By PDW in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-15-2005, 12:49 PM
  5. 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