Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Converting forum from encrypted passwords
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Converting forum from encrypted passwords

 Post Reply Post Reply
Author
fletch1200 View Drop Down
Newbie
Newbie


Joined: 08 July 2004
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote fletch1200 Quote  Post ReplyReply Direct Link To This Post Topic: Converting forum from encrypted passwords
    Posted: 08 July 2004 at 12:38pm

Hello,

I have an existing forum that uses encrypted passwords that I would like to convert to using unencrypted passwords for integration reasons.  I have loaded the unencrypted passwords from an existing DB and set the blnEncryptedPasswords=false in the two common.asp files, but this does not seem sufficient to complete the transition.  Is it possible to do this conversion with an existing forum, and if so what am I missing?

Thank you for your help!

Regards 

Back to Top
Str8Dog View Drop Down
Senior Member
Senior Member


Joined: 18 December 2001
Location: United States
Status: Offline
Points: 2118
Post Options Post Options   Thanks (0) Thanks(0)   Quote Str8Dog Quote  Post ReplyReply Direct Link To This Post Posted: 09 July 2004 at 10:16am
Honestly, no. WWF uses a one way hash function to encrypt passwords. This means that the password the user gives is put throught a mathmatical computation that is irreversible, the result of that computation is then stored in the database.

You will need to notify your users that you are switching and they will need to use the automated password recovery tool to generate a new password. Given enough warning, your users will hopefully not mind.
[IMG"> http://www.str8dog.com/images/str8dog.gif">
I wasn't born with enough middle fingers.
Back to Top
fletch1200 View Drop Down
Newbie
Newbie


Joined: 08 July 2004
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote fletch1200 Quote  Post ReplyReply Direct Link To This Post Posted: 09 July 2004 at 10:46am

Str8Dog,

Thank you for your reply.  The problem I still have is that I've made the changes to common.asp (both) but when I create a new user it still creates encrypted passwords in the DB.  Is there another setting or file that I need to change to stop that behavior?

Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 09 July 2004 at 11:11am

It sounds like he already has a list of unencrypted passwords for his users and just want to replace the encryped ones with the unencrypted ones after turning off encryption.
He's not trying to decypher the current encrpted ones.

I would think you could do it, but you might have to set the registration confirmed indicator as well.

When you say that your process this does not seem sufficient, what does that mean? What happens?


Lead me not into temptation... I know the short cut, follow me.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 09 July 2004 at 11:49am
Originally posted by fletch1200 fletch1200 wrote:

Str8Dog,

Thank you for your reply.  The problem I still have is that I've made the changes to common.asp (both) but when I create a new user it still creates encrypted passwords in the DB.  Is there another setting or file that I need to change to stop that behavior?


Turning off encrypted passwords has not been fully tested yet so for this reason and to maintain security in your forum it is not recommended that you turn off encrypted passwords.
Back to Top
fletch1200 View Drop Down
Newbie
Newbie


Joined: 08 July 2004
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote fletch1200 Quote  Post ReplyReply Direct Link To This Post Posted: 09 July 2004 at 11:53am

dpyers,

It still puts encrypted passwords in the DB when I create new users.

BTW I'm on 7.9/SQL

Back to Top
rocketdawg View Drop Down
Newbie
Newbie
Avatar

Joined: 03 August 2004
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote rocketdawg Quote  Post ReplyReply Direct Link To This Post Posted: 16 August 2004 at 1:32pm

I just had the same problem.

Register.asp

line 830

  'Generate new salt
                 strSalt = getSalt(Len(strPassword))

On updating the password once the encryption was turned off, this line needs to be commented out. End of problem. No more encryped insertions.

I have no idea if that is the correct method, but it worked for me.

 

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.