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
    Regular Coder
    Join Date
    May 2004
    Location
    Sydney, Australia
    Posts
    281
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question password protection

    i would like to create a password protect area on my site. my server doesnt have ASP, CGI, or other server side languages and i have heard that cookies are a way of protecting parts of a site. They are not the safest way of protecting a site but they stop the amatuers.

    How would i go about writing a script to create the cookie and then another script to verify that the computer has the cookie??

    email me at Andrew_Barnett@auburn.nsw.gov.au if you need me to clarify some details....

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Location
    UK
    Posts
    2,789
    Thanks
    2
    Thanked 14 Times in 14 Posts
    Take a look here for some info about cookies


    http://www.huntingground.freeserve.c...ripts/snav.htm


    Scroll down to the cookie menu
    The silent one.

    The most dangerous thing in the world is an idea.
    The most dangerous person in the world is the one with an idea.

  • #3
    Smokes a Lot
    Join Date
    Jul 2003
    Location
    CA, USA
    Posts
    1,594
    Thanks
    5
    Thanked 20 Times in 20 Posts
    There is always the infamous.

    Secure Login With Javascript

    Basscyst
    Helping to build a bigger box. - Adam Matthews


  •  

    Posting Permissions

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