Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Batch add members?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Batch add members?

 Post Reply Post Reply
Author
reedrinn View Drop Down
Newbie
Newbie


Joined: 11 May 2003
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote reedrinn Quote  Post ReplyReply Direct Link To This Post Topic: Batch add members?
    Posted: 11 May 2003 at 10:01pm

I'm using the SQL version of WWF 7.01.

I have a membership database from our old forum that is based on MS Access.  The user names and passwords are stored as plain text in the Access database.

I would like to batch-transfer the entire membership from the old Access database to our new WWF SQL database so our users can easily switch to the new forum.  At the very least, I need to transfer the user names and passwords to the new database.  Since the user names and passwords are "obfuscated" in the WWF database, how do I effect this transfer?  Is there a handy stored procedure or ASP script?  Anyone else accomplished this task?

Thanks!

Reed

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: 12 May 2003 at 4:02am
I think you will have to write your own ASP application to do this. Even if there was something available it would be very difficult as all databases are different with different structures.
Back to Top
jkeltgen View Drop Down
Newbie
Newbie
Avatar

Joined: 11 September 2003
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote jkeltgen Quote  Post ReplyReply Direct Link To This Post Posted: 12 September 2003 at 8:04am

I too would like to bulk add users.  I have a database with lots of usernames and passwords but structure doesn't really matter.

I'm definitely OK with scripting out this process, but could anyone help me with understanding the "obfuscating" (is that a word) of the usercodes, salt, and password values?  I guess that's where I'm hung-up right now.  I can't manually type in the Access DB the usernames and whatnot because of the unique values.  I can't obviously copy the unique values due to key and index violations either, so any help WOULD BE GREATLY APPRECIATED.

Back to Top
Scotter View Drop Down
Newbie
Newbie
Avatar

Joined: 14 November 2002
Location: United States
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotter Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2003 at 5:19pm
what purpose does the "salt" field serve, please?
Back to Top
fernan82 View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 17 November 2002
Location: United States
Status: Offline
Points: 362
Post Options Post Options   Thanks (0) Thanks(0)   Quote fernan82 Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2003 at 9:04pm

Look at the file funcions/function_hash1way.asp it's very well commented so it should explain everything about how the encryption is done... it's much simpler than what it seems.

Basicly something like this is all it takes to encrypt the password with that function:

strPassword = Trim(strPassword)
strSalt = getSalt(Len(strPassword))
strPassword = HashEncode(strPassword & strSalt)

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.