close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Encrypt passwords

Thread began 12/03/2009 11:41 am by info321189 | Last modified 9/24/2010 12:30 pm by Jason Byrnes | 2518 views | 16 replies |

info321189

Encrypt passwords

Hello, it's any way to encrypt (md5) password of the users in the database ?

Sign in to reply to this post

Eric Mittman

Security Assist allows for formatting of values with sha1 encryption. If you have this tool installed you would select the sha1 encryption option from the formatting menu when selecting your binding.

If you store the user password encrypted though you will need to modify how the login works, you must make sure to encrypt the value that the user enters as their password before comparing it the value stored in your db.

Sign in to reply to this post

dan361748

Where do I find the tutorial/solution for this?

Hi - I'm having trouble locating the tutorial for changing both the registration and login pages for sh1 encryption. Can you provide the link here?

Sign in to reply to this post

Eric Mittman

You can get to this info on the Security Assist support page that can be found here:

securityassist/

In the Solution Recipes section you will want to check out the Introduction to SecurityAssist. It covers these steps.

Sign in to reply to this post

carleneBeta Tester

Hi Eric - I am also going through these steps in my store to encrypt my passwords. Is there a downloadable .pdf file of the Introduction to Security Assist videos found on this page? securityassist/

I'm finding these videos extremely helpful, however It's a little difficult when I'm trying to follow the step-by-step to go back to the video and replay the steps. A printout would be better.

Also - the steps you're discussing are the ones in the 04_registration.swf
Tutorial - correct?

Thanks so much for your help!

Carlene

Sign in to reply to this post

Eric Mittman

The Solution Recipe interactive tutorials are the only versions of these that we have available. You should not be looking at just one of these but all of them in the Introduction to SecurityAssist section. They will show you the in's and out's of using Security Assist to add password encryption functionality to your site.

Sign in to reply to this post

carleneBeta Tester

Hi Eric,

I've done these tutorials many times. And I'm getting the registration page to register an encrypted password - but unfortunately, I'm having problems with my Login page. I tried double clicking on the Authenticate User server behaviour (both of them). And then I did change it to encryption. But still not working.

Could you please take a look and let me know what's going on here? Or did I miss a step? I've gone through the tutorial videos multiple times here.

Thanks!

Attached Files
users_LogIn.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the code on this page ;looks correct for encrypted passwords.

Double check in the users table that the full encrypted password is being stored.

an encrypted password is 40 characters long, if the users table does not allow at least 40 characters, this can cause a problem.


if you still having troubles, send a copy of the registration page.

Sign in to reply to this post

carleneBeta Tester

I'm attaching a copy of my registration page.

When I Register - it accepts my registration, encrypts the password (or seems to - it's just all 100 characters in the database) the verification link is sent - I clicked it and it worked (meaning the email verified and showed as verified in the database.)

However - when I then try to Log In - the login page just leaves me on the login page and doesn't enter the site at all. I'm not sure what is happening as the Registration seems to be taking because it is being recorded into the database.

I am testing locally. The store works but I need to have the passwords encrypted. I have Security Assist and Data Assist.


Much help is appreciated here!

Attached Files
users_Registration_full3.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the code in both pages looks correct, to troubleshot this a bit, use PHPMyAdmin or another MySQL GUI Tool to access your local database and use the following query:

SELECT UserEmail, UserPassword FROM ps3_users WHERE UserEmail = 'your@email.com'



where 'your@email.com' is the email you are testing login with.


please post back the results that are returned from this and the password you are testing with, this info will help to see what is going wrong.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...