Add encyption to the password field MD5
Hi Guys,
I would like to add encryption (MD5 etc) to the password in the registration pack. I have security, data assist etc.. if somebody could point me in the right direction would be great.
Hi Guys,
I would like to add encryption (MD5 etc) to the password in the registration pack. I have security, data assist etc.. if somebody could point me in the right direction would be great.
Hi Guys,
The current database I am using already has fields that validate with MD5... anybody have an idea how to incorporate this instead of SHA1?
Tks.
On the registration page, double click the Insert record server behaivor. The password column is set to:
<?php echo ((isset($_POST["UserPassword"]))?$_POST["UserPassword"]:""); ?>
change that to;
<?php echo ((isset($_POST["UserPassword"]))?md5($_POST["UserPassword"]):""); ?>
You will also have to change the login page. on the Second page of the Authenticate user server behavior, change the password binding:
<?php echo ((isset($_POST["userpassword"]))?$_POST["userpassword"]:""); ?>
to:
<?php echo ((isset($_POST["userpassword"]))?md5($_POST["userpassword"]):""); ?>
I noticed when using SHA1 encryption, WA posts a file here:
Root:WA_SecurityAssist:WA_SHA1Encryption.php
Does a similar file need to be created and put in it's place when using MD5 encryption instead?
Or will I need to edit the existing file in that location at all?
Just checking, as i need to implement MD5 next week as I rebuild a few sites in WA.
THanks
no, md5() is a function built into PHP.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.