Results 1 to 5 of 5
  1. #1

    Password Protected Directories...?

    Hi all.

    Not too sure where I should be posting this question so moderators, please feel free to move where appropriate.

    I am looking to password protect one of my directories using cpanel's Password Protected Directories option. I have successfully done the same but I just wanted to know if this is easy to hack or not.

    It seems quite fire-proof but there will be around 20gigs of content so I need to make sure not everyone can access it unless I give my permission. Also, is the content in this password protected directory also safe from hotlinking.

    For example, if I give someone access to the area and they decided to hotlink some of the content will it simply ask for login details or will the content appear at the hotlinked place?

    Cheers - Dav
    Gotta check out this superb site...

  2. #2

    I just need to know if I need to .htaccess the directory or is there no need as the directory is password protected?

    Cheers - Dav
    Gotta check out this superb site...

  3. #3
    Join Date
    Apr 2003
    Atlanta, Jawja
    Do an .htaccess on the top most directory that you want protected for hotlinking, and anything under that will be covered nicely.

    If you want roaming members to access that, you'll also need to implement an .htpasswd file, as well.

    Search on, there's a CGI and PHP version that will do what you want.
    Douglas Hazard - Certifiable Sports Junkie and Sports Community Enthusiast

    Host of Two Cents Radio - Follow @TwoCentsRadio on Twitter (@BearlyDoug on Twitter)

  4. #4
    Join Date
    Oct 2003
    It would ask for login details unless they include login data ( user/pass) with the url as well.
    Maker of World's BEST Browser & Web site development software.
    Shared / Reseller / Dedicated *Managed* Web hosting on Linux / Windows with 99.5% Uptime Guarantee with SLA & 90 days moneyback guarantee.
    Contact -> AIM: str1997 | ICQ: 303026849

  5. #5
    Thats great guys,

    So overall it would be good to do an .htaccess page to protect the directory but it is also good to know that a username and password is needed to access the content initially.

    Cheers guys - Dav
    Gotta check out this superb site...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts