close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

MySqli Authentication: How to Convert Text Password to Encrypted Password

Thread began 8/07/2018 10:28 am by administration282761 | Last modified 8/07/2018 1:53 pm by Ray Borduin | 10 views | 1 replies |

administration282761

MySqli Authentication: How to Convert Text Password to Encrypted Password

I have a MySqli generated user authentication login system which currently uses text passwords.
1. I would like to add a new field to the DB table for an encrypted password and then update each user's password as encrypted. How do I input into this this field via an update form using the appropriate security such as "crypt" ?
2. With forgot password I would like to then be able to e-mail a link for the user to update their password.
3. Can I adapt my current login system or should I start over from scratch?

Sign in to reply to this post

Ray BorduinWebAssist

First you would have to update your login and user update page to make sure they save an encrypted value in the database. I'd probably create a copy of the existing pages and edit them to get that working.

Then you can work on updating the login page to work with the newly registered users.

Then the final step would be to create the update password page and send out the emails to the existing users to update their passwords. Make sure your forgot password page uses the same reset password logic for users that might miss the email.

I wouldn't start from scratch, but it isn't a small amount of work to pull off with all of the pages effected.

Sign in to reply to this post

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...