Wednesday, September 3, 2008

Setting a MD5 hash on a password field

In your users table, you might want to store the user's password as a MD5 hash. When xataface is authenticating users, you make to tell them to encrypt the password they enter so that it can be properly compared to the value in the database. To do this, make a fields.ini file in your user's table delegate folder. And then enter this:


[password]
encryption=md5


[password] is the name of your password column field name.

No comments: