Thread: Password verification

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    11

    Password verification

    I need to create a password verification program for a web application, and I'm not really sure where to start. Does anyone have any suggestions on what I should/need to do, particularly how I should store (and encrypt) the user data, and how to keep the sessions secure. Thanks.

  2. #2
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Generally you do not decrypt passwords. What you do is store it encrypted, get the user's input, encrypt that and see if they match.

    Since its for a web app I'd look into mysql/php since it has a nice combination of functions to make this happen (namily MD5() ). To keep the session secure look into using an SSL connection and session IDs

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. [Q]Hide Password
    By Yuri in forum C++ Programming
    Replies: 14
    Last Post: 03-02-2006, 03:42 AM
  2. written command line password generator
    By lepricaun in forum C Programming
    Replies: 15
    Last Post: 08-17-2004, 08:42 PM
  3. password verification on startup
    By codefx in forum C++ Programming
    Replies: 12
    Last Post: 04-17-2003, 05:42 AM
  4. charater testing for password verification
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 03-20-2002, 07:48 PM
  5. password
    By hammers6 in forum C Programming
    Replies: 1
    Last Post: 10-10-2001, 12:14 AM