Coding a secure login script -is this good?

Discussion in 'PHP' started by slaydragon, Jun 12, 2008.

  1. #1
    Hi, i am looking to code a secure login script. Here are one tutorial that i found, wondering if you guys can give some advice on whether its secure or whether its good.. and should i implement it.

    here's the site: http://www.phpeasystep.com/workshopview.php?id=6

    Thanks alot,.
     
    slaydragon, Jun 12, 2008 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #2
    allow only a-zA-Z0-9 as username and password and store only a session indetifier ID into a cookie! the rest in database (password needs to be saved with an encryption!)

    Simple as hell!
     
    EricBruggema, Jun 12, 2008 IP