View Full Version : Store Password as plain text
vicelover
03-13-2010, 01:32 PM
Hi,
For some reason, I need make all the users' passwords stored as plain text in DB. How to do it?
Thanks in advanced.
Best Regards,
vicelover
CoRRuPtD
03-13-2010, 09:17 PM
Hi,
For some reason, I need make all the users' passwords stored as plain text in DB. How to do it?
Thanks in advanced.
Best Regards,
vicelover
Why would you want to do that?
Andrei29
03-13-2010, 09:21 PM
Interesting. Any possibility to store the password as plain text instead of those 32 char ?
zanthor
03-13-2010, 10:40 PM
It's an effective way to harvest e-mails and passwords which you can then use to try and steal other accounts that have e-mail recovery options on them.
I can't think of any legitimate reason to want to store passwords in plain text.
War.Frog
03-13-2010, 10:43 PM
LOL. I can't think of a single need for this. If your users are happy enough to oblige, why don't you just start a thread and ask them to post those details? :rolleyes:
By the way - I need your credit card numbers and expiry dates.
vicelover
03-14-2010, 02:07 AM
At first, thanks for any kind of reply. Steal is ashame.
Add an explanation for why I ask that question.
I use vB embed into my site, they have separate DB, and the password of user should be saved as the same.
The encryption scheme vB used is MD5 , but I want to use another encryption scheme in my site coded by other program language. How to make the password stored in vB's DB is the same one in my site's DB?
zanthor
03-17-2010, 03:30 PM
At first, thanks for any kind of reply. Steal is ashame.
Add an explanation for why I ask that question.
I use vB embed into my site, they have separate DB, and the password of user should be saved as the same.
The encryption scheme vB used is MD5 , but I want to use another encryption scheme in my site coded by other program language. How to make the password stored in vB's DB is the same one in my site's DB?
Now this is something I can get behind, you don't actually want their username and password data, you just want it stored properly.
I hacked a bridge between vb4 and eqdkp's web product recently, basically the idea is that you need to chose which product will control their usernames and passwords, and then bridge that information into the other.
In my example I modified the login process of EQDKP to present the U/P to vbulletin, if it matched and the user was successfully logged in, I had EQDKP update the password in it's own database using it's own salt. I also had both apps set their cookies at this time so logging into the main application logged you into the secondary.
I wish I could provide sample code, but shortly after doing this I migrated hosts and as part of that migration cleaned up the stuff I wasn't using... and tossed eqdkp to the bin.
vicelover
03-18-2010, 02:02 AM
Now this is something I can get behind, you don't actually want their username and password data, you just want it stored properly.
I hacked a bridge between vb4 and eqdkp's web product recently, basically the idea is that you need to chose which product will control their usernames and passwords, and then bridge that information into the other.
In my example I modified the login process of EQDKP to present the U/P to vbulletin, if it matched and the user was successfully logged in, I had EQDKP update the password in it's own database using it's own salt. I also had both apps set their cookies at this time so logging into the main application logged you into the secondary.
I wish I could provide sample code, but shortly after doing this I migrated hosts and as part of that migration cleaned up the stuff I wasn't using... and tossed eqdkp to the bin.
Thanks a thousand.
This morning(GMT +8) I just solved this nut. The main idea is, just like what you said, to choose one product as the main enter for user login.
I'm very glab to receive your sample code in your convience. ( I'll send my email address via PM.)
Thanks again for your warmhearted help. :up:
Best Regards,
Jerry
shyguy82
04-03-2010, 10:30 PM
zanthor,
Any way you can share you piece of code with me? I too have another site, written in .NET that I want to "marry" with vB. I dont want to keep 2 sets of users but I want to authenticate people in .NET site using vB's users base.
Thanks in advance
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.