Jump to content

Password Encryption


applejay

Recommended Posts

Well, this all depends on the server side language you choose to use. I use Cold Fusion so my process is very easy.a.) login-form.cfm = form for user to submit username password for authenticationb.) login-authenticate.cfm = takes the username and passes the password through encryption algorythm and queries the database. NOTE, when I create a user record, I run the password they submit through the encryption algorythm and save that in the DB - so I never know their password. If the query returns one value that matches, then I do this:<cfset session.username=form.uname><cfset session.epassword=encrypt(form.pword, AES, HEX);>That makes them available on any page during that user session.Like I said, each language is different, so you'll have to determine that first.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...