Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    January 18th, 2005
    Posts
    58
    Hi all,

    I was wondering if you guys new how to password protect a godaddy website? I used to have it working but now it does not work for some reason.

    Please take a look at .htaccess
    AuthUserFile /home/content/c/o/m/computers/html/.htpasswd
    AuthGroupFile /dev/nul
    AuthName EnterPassword
    AuthType Basic
    require user hello


    In my .htpasswd is just the hello with the encrypted password.
    I get the prompt to come up, but the password is not accepted.
    Thanks

  2. #2
    Thumbs up GoDaddy Password protection
    The first thing you need to check is that you are using the correct encryption and that your hosting plan is Unix and not Windows. GoDaddy uses MD5 encryption. You will need to use htpasswd.exe which is available at http://www.apachefriends.org/en/xampp-windows.html (however it's a 61MB dl).
    Alternatively, you can get the single file from our site at http://www.thecallawaygroup.com/downloads/htpasswd.exe

    Goto a command prompt in Windows and enter the following to generate a new .htpasswd file for a user called mike.

    htpassword.exe -c .htpasswd mike [Hit ENTER]

    You'll be prompted for the new password twice.

    If you want to add multiple users, then just omit the -c in the command prompt providing the file already exists in the same folder as your htpasswd.exe file.

    The .htaccess file you will want to use is configured as such:
    (where joeschmoe is your login name for the website..note that it may not be your GoDaddy LOGIN ACCOUNTID)

    AuthUserFile /home/content/j/s/c/joeschmoe/html/.htpasswd
    AuthGroupFile /dev/null
    AuthName "Password Protected Area"
    AuthType Basic

    <limit GET POST>
    require valid-user
    </limit>

    With the configuration above, the .htpassword file would be located in the same directory (Root) as your index.htm file.

    Hope this helps.

    -Mike
    http://www.TheCallawayGroup.com
    "The User-Friendly Website Company"

  3. #3
    Thumbs up GoDaddy Password protection update
    This following line was entered incorrectly:

    AuthUserFile /home/content/j/s/c/joeschmoe/html/.htpasswd

    should be:

    AuthUserFile /home/content/j/o/e/joeschmoe/html/.htpasswd

    If your username was joeschmoe..use the first 3 letters.

    -Mike

    http://www.TheCallawayGroup.com
    "The User-Friendly Website Company"

  4. #4
    Newbie
    Join Date
    February 29th, 2008
    Posts
    1
    Question need help with password protection
    HELLO,

    I AM HAVING THE SAME ISSUES. I HAVE A GODADDY ACCOUNT, AND SET UP MY HTACCESS AND HTPASSWD FILES, UPLOADED THROUGH FTP ASCII (I READ ON ANOTHER SITE THAT IS WHAT I NEED TO DO, BUT I TRIED BINARY, TOO)..

    I HAVE AN ASP.NET PROGRAM, AND A WINDOWS HOSTING ACCOUNT. I HAVE CREATED A "PASS" SUB-CATEGORY FOLDER AND PUT BOTH FILES IN THERE. IT SHOULD WORK, BUT NO BOX COMES UP. THIS IS WHAT I HAVE UPLOADED:

    ErrorDocument 403 "AUTHORIZATION REQUIRED
    AuthUserFile /home/content/b/r/o/bronteyork/Pass/html/.htpasswd
    AuthGroupFile /dev/null
    AuthName "Private Area"
    AuthType Basic
    <Limit GET POST>
    require valid-user
    </Limit>

    ANY SUGGESTIONS ON WHAT I HAVE DONE WRONG? I HAVE TRIED THE AUTHUSERFILE WITHOUT THE /HTML/ BUT THAT DIDN'T WORK EITHER.

    HELP!
    THANKS,
    VIKI

  5. #5
    Newbie
    Join Date
    December 16th, 2008
    Posts
    2
    Place parenthesis around the string for AuthUserFile

    i.e.
    AuthUserFile "/home/content/c/o/m/computers/html/.htpasswd"

  6. #6
    ABW Ambassador 2busy's Avatar
    Join Date
    January 17th, 2005
    Location
    Tropical Mountaintop
    Posts
    5,636
    ummm, none of these people are still waiting for an answer. The latest addition to this was a one-post-wonder almost a year ago.

  7. #7
    Newbie
    Join Date
    December 16th, 2008
    Posts
    2
    Yes I was well aware of that, but I found the solution to the problem, so I thought I would share it with anyone else like me that ended up here from a Google search and was left with no solution.
    Last edited by equality4xy; December 16th, 2008 at 06:10 PM. Reason: spelling/grammer

  8. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Replies: 0
    Last Post: May 30th, 2013, 11:50 PM
  2. Password Protection advice please...
    By ~Michelle in forum Midnight Cafe'
    Replies: 3
    Last Post: October 18th, 2006, 01:02 PM
  3. Protection from Parasiteware?
    By Freebird in forum Commission Junction - CJ
    Replies: 23
    Last Post: June 17th, 2005, 09:39 AM
  4. FREE Password Protection Script - Where can I...
    By JadaKiss in forum Midnight Cafe'
    Replies: 6
    Last Post: February 24th, 2002, 04:47 PM
  5. Password Protection
    By MrLeN in forum Programming / Datafeeds / Tools
    Replies: 6
    Last Post: October 17th, 2001, 07:19 PM

Posting Permissions

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