Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jul 2002
    Location
    Heathrow
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Simple password protection Q-I'm a beginner!

    Hi, this is a really simple question, but once i've used http://www.javascriptkit.com/howto/htaccess3.shtml this tutorial for password protection, do i need to use another set of cgi coding to create a login and register page or do i use .htaccess or .htpasswd - I've tried every other password protection script and none are very foolproof, ao i thought i'd use this, but i'm just a bit confused thanks

  • #2
    Regular Coder
    Join Date
    Jul 2002
    Location
    London, UK
    Posts
    126
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The way authentication works with .htaccess and .htpasswd files is that you place them in the directory you want to be protected, and then if anyone tries to access anything within that directory a little box pops up and they are required to enter a username and password before proceeding - like this.

  • #3
    Regular Coder
    Join Date
    Jul 2002
    Location
    London, UK
    Posts
    126
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I.e. once the authentication files are in place you don't have to worry about anything else.


  •  

    Posting Permissions

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