Results 1 to 7 of 7

Thread: .htaccess Password

  1. #1
    Join Date
    Oct 2006
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question .htaccess Password

    1) Script Title: .htaccess Password

    2) Script URL (on DD): http://tools.dynamicdrive.com/password/

    3) Describe problem: How can I use it???

    I need to put password on my website but I dont know how to use it

  2. #2
    Join Date
    Oct 2006
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    No Body Here To Help Me

  3. #3
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    okay, #1, dont double post. all forums are annoyed by this.
    and to answer your question, do these things...
    1. Input all user names that you need
    2. input their passwords into the opposite box
    3. copy the passwords&user names into a text file on your desktop/My Documents folder

    after that is done, choose the folder/files you want protected and input thier names, and make sure the directory to the .htpasswd file is /pass/. click submit
    next unzip this
    into the protected directory, and read instructions.txt and your done.

    ps. .htaccess files are annoying to make b/c windows says it has to have a file name.
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    DOS, however, doesn't mind, so I recommend doing it via DOS.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Oct 2006
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by boxxertrumps
    okay, #1, dont double post. all forums are annoyed by this.
    and to answer your question, do these things...
    1. Input all user names that you need
    2. input their passwords into the opposite box
    3. copy the passwords&user names into a text file on your desktop/My Documents folder

    after that is done, choose the folder/files you want protected and input thier names, and make sure the directory to the .htpasswd file is /pass/. click submit
    next unzip this
    into the protected directory, and read instructions.txt and your done.

    ps. .htaccess files are annoying to make b/c windows says it has to have a file name.
    thx... i'll try
    1 more thing there did i post twice

  6. #6
    Join Date
    Feb 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I have tried the instruction at http://tools.dynamicdrive.com/password/ many ways and can't make it work for me. I don't under stand what this means:" ".htpasswd" is a text file that is used to contain your usernames and encrypted passwords. Enter the path you will be placing your .htpasswd file (which contains the usernames/passwords) on the server. It should be a non user accessible location, such as directly above your public HTML folder. This is to prevent visitors from directly viewing this file in their web browser."
    When I Ftp using Fetch I see the top directory and if I place file in it at sjsvdp.com it displays if I go to http://sjsvdp.com/file.txt or file.html.

    It said I shouldn't put the .htpasswd file under sjsvdp.com. But where do I put it? I don't get higher level than this.

  7. #7
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    It means that your access to your server is only within a "chroot gaol:" you're not allowed to access any files outside your web root.

    It's usually safe to put it below the web root: Apache blocks access to it. Test this before relying on it, though, since configurations differ.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

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