Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 User Passwords
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Matt8109
New Member

64 Posts

Posted - 19 October 2002 :  17:57:48  Show Profile  Visit Matt8109's Homepage
Hello,
I just upgraded to the newest version of snitz, and it encrypted all the passwords, thats fine. Anyways were can I find the code that encrypts the password when they try to log in. I have to log the user into a different part of my site by using their forum username and password. I would send the data to default.asp, but the problem is I need to load some extra data I added to the database into session information.

Also, can this code be cahnged to ASP.NET code? As the session info is called by .net pages.

Thanks,
Matt

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 19 October 2002 :  18:38:23  Show Profile  Send ruirib a Yahoo! Message
The code is in inc_sha256.asp. It's the SHA256 function.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

wwsr
Starting Member

27 Posts

Posted - 20 November 2002 :  08:43:29  Show Profile
I'm not an asp person...
Is there a document that explains how I can get hold of my users' passwords? Cheers

quote:
Originally posted by ruirib

The code is in inc_sha256.asp. It's the SHA256 function.

Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 20 November 2002 :  09:10:04  Show Profile  Send ruirib a Yahoo! Message
You cannot get hold of your users password, whatever you want to mean by that. Once encrypted, there is no way you can find what the passwords are.


Snitz 3.4 Readme | Like the support? Support Snitz too

Edited by - ruirib on 20 November 2002 09:10:48
Go to Top of Page

wwsr
Starting Member

27 Posts

Posted - 20 November 2002 :  18:12:03  Show Profile
OK.
In the previous version I could send a user his password if they'd forgotten it.

Is there a password retrieval system available that the user can use in such cases?

Thanks


quote:
Originally posted by ruirib

You cannot get hold of your users password, whatever you want to mean by that. Once encrypted, there is no way you can find what the passwords are.

Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 20 November 2002 :  18:27:43  Show Profile  Visit Gremlin's Homepage
The forgot password link can still be used, instead of sending them the password though it now resets it abd emails them (I think, haven't actually used it myself yet under 3.4 to be honest).

You don't need to know much ASP to use the inc_SHA256 though.

If you've got a member logging on from a different place in the site then simply include the above file on the page and then call SHA256(Members_Clear_Text_Password) and the returning value in SHA256 will contain the encrypted password, you can then compare this value with whats stored in FORUM_MEMBERS.M_PASSWORD in the database to confirm whether the password is correct or not.

Kiwihosting.Net - The Forum Hosting Specialists

Edited by - Gremlin on 20 November 2002 18:28:30
Go to Top of Page

Rasco
Advanced Member

Germany
3192 Posts

Posted - 20 November 2002 :  18:29:24  Show Profile  Send Rasco an ICQ Message
Via the "Forgot Password?" link they can get a new password. You need to turn on the mail feature to use that.

German Snitz Forum
Go to Top of Page

sabergurl
Starting Member

20 Posts

Posted - 29 January 2003 :  14:40:38  Show Profile
Where do you turn on the "mail feature" in the new version?

I just tested out the "forgot password" page, and it sent me an email with an link, but that link produced an unknown page...

Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 29 January 2003 :  14:45:47  Show Profile  Send ruirib a Yahoo! Message
You don't need to turn on email, if you are already receiving emails. Probably the link in the email was broken in two line, no? Try to paste the whole link into the browser address bar and that should fix it.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

sabergurl
Starting Member

20 Posts

Posted - 29 January 2003 :  14:52:43  Show Profile
No it wasn't broken in two lines...
I did a copy and paste in the browser url bar and still received the same error message:

The page cannot be found

I checked the DB and that key was inserted into the M_PWKEY Column...so that should be alright...

hmm...
Go to Top of Page

davemaxwell
Access 2000 Support Moderator

USA
3020 Posts

Posted - 29 January 2003 :  15:00:38  Show Profile  Visit davemaxwell's Homepage  Send davemaxwell an AOL message  Send davemaxwell an ICQ Message  Send davemaxwell a Yahoo! Message
quote:
Originally posted by sabergurl

Where do you turn on the "mail feature" in the new version?

I just tested out the "forgot password" page, and it sent me an email with an link, but that link produced an unknown page...





Make sure the forum URL is set properly. If not, it will provide and invalid link

Dave Maxwell
Barbershop Harmony Freak
Go to Top of Page

sabergurl
Starting Member

20 Posts

Posted - 29 January 2003 :  15:30:06  Show Profile
Got it...
Thanks guys...

Found the mistake...We had switched the strForumURL and strHomeURL around so that the link on the graphic goes to the main website not the forum index...

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07