Print Page | Close Window

Externally logging into WWForums?

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=14900
Printed Date: 13 April 2026 at 5:24am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Externally logging into WWForums?
Posted By: eXeterTBC
Subject: Externally logging into WWForums?
Date 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?



Replies:
Posted By: dj air
Date 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.


Posted By: Mart
Date 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 - 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)


Posted By: eXeterTBC
Date 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 - http://lock.indyres.com/WWFCryptoLib.zip



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net