Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Externally logging into WWForums?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Externally logging into WWForums?

 Post Reply Post Reply
Author
eXeterTBC View Drop Down
Newbie
Newbie


Joined: 01 May 2005
Location: United States
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote eXeterTBC Quote  Post ReplyReply Direct Link To This Post Topic: Externally logging into WWForums?
    Posted: 01 May 2005 at 11:43am
I am currently building a website in ASP.NET.  I will need the ability to have users log into the website.  Since I plan on using WWF for the forum piece it would be nice just to use the Author table as the base user table for my application.  Has anyone had luck with recreating the one way hash algorhytm Borg uses using Dot Net Cryptography?
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 01 May 2005 at 2:20pm
i have used that system

all you need is the 1_way_hash.asp (or simular) found in the functions folder.

then when you want ot create a salt code generate a random number and then add that to the password so its Password & Salt

then to encrypt it use
EncryptedPassword = HashEncrypt(Password & Salt)

then EncryptedPassword is exactly that..


you qill have to double check the function name.

also the above is example names.
Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 01 May 2005 at 2:51pm
I think he means using .net, in which case you have these options:
  1. Don't use web wiz forums at all, you can't interoperate with ASP 3.0 easily within ASP.NET. I.e. you cannot read cookies set in classic ASP from ASP.NET, same for sessions and applications. An alternative would be to use http://www.communityserver.org which is wrote in 100% managed code and is extremely easy to integrate into a site
  2. Rewrite the hash include (you can't use that algorithm directly from managed code), if you do that in VB.NET there should only be minimal changes. If you want to do things like check if a user is logged in from you asp.net site you will need to rewrite some/most of the forum to allow ASP.NET to access the session variables etc. (maybe using a database table where the variables are shared)
Back to Top
eXeterTBC View Drop Down
Newbie
Newbie


Joined: 01 May 2005
Location: United States
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote eXeterTBC Quote  Post ReplyReply Direct Link To This Post Posted: 10 June 2005 at 4:38pm
On a wild hare today I decided to port the One way hash include to a VB ClassLib and compile it.  Amazing enough it worked as is with only one change.  Referenced it in a quickie C# windows app and I am now correctly generating the password hash in C# the language I was wanting to use in the first place.  Thanks for the suggestions.

Here is the WWFCryptoLib I created in case anyone else finds use for it.
http://lock.indyres.com/WWFCryptoLib.zip
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.