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 5 of 5
  1. #1
    Regular Coder Bengal313's Avatar
    Join Date
    Jun 2002
    Location
    Metro Detroit
    Posts
    298
    Thanks
    8
    Thanked 0 Times in 0 Posts

    password protect

    I need to password protect some php files that allow database updates, deletes, add. I have quite a few files. Is there a way I can have a login/out for a entire folder. So, once someone clicks on the link from outside the folder, they are promted for a username and password. But, once in they are not prompted again. The password expires once the browser is closed or logged out? Can someone please tell me where I can find such a script. Better yet, give me a name. Thank you everyone
    "Knowledge Speaks But Wisdom Listens"

  • #2
    Regular Coder
    Join Date
    Feb 2003
    Location
    East Side/West Side
    Posts
    118
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Use .htaccess

  • #3

  • #4
    Registered User
    Join Date
    Feb 2003
    Posts
    43
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I use sessions..

    I used to use htaccess, but you can't prompt username/password from a page for example, like hotmail.

    Its possible, but its gotta be something like http://usernameassword@site.com/ and has obvious security problems.

    Jesh

  • #5
    New Coder
    Join Date
    Mar 2003
    Posts
    49
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I prefer htaccess, but, like any other secure area, there's always security issues...


  •  

    Posting Permissions

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