[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 09-18-2003, 07:28 AM   #1 (permalink)
NamePros Member
 
Join Date: Jul 2003
Posts: 120
185.00 NP$ (Donate)

web guru is an unknown quantity at this point


Secure login

I have written a login script and I think I have made it as secure as possible - check session id, user ip, encrypted passwords along with a few other methods. But I have used MD5 to encrypt my passwords. This is a one way encryption method, thus even the sys admin doesent know what your password is. But what if a user forgets hi/her password. How could I go about finding it out. I was thinking about storing the password somewhere else, but then what would be the point in encrypting it in the first place? Ay one got any ideas how to go about this or even any other ideas of encrypting passwords??
web guru is offline  
Old 09-18-2003, 01:22 PM   #2 (permalink)
Senior Member
 
Join Date: May 2003
Posts: 2,211
6,170.25 NP$ (Donate)

adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough

Breast Cancer
secret question

ur get the user to enter there user name and it sends an email with the pw in it to the adress in the user profile
adam_uk is offline  
Old 09-18-2003, 02:00 PM   #3 (permalink)
Senior Member
 
Join Date: Aug 2002
Posts: 1,300
2.85 NP$ (Donate)

deadserious has a spectacular aura aboutdeadserious has a spectacular aura about


I think you would probably want to have something like a forgot password feature and have it generate a random password and send it to the email address you have on file and of course it would need to update your system so that randomly generated password was now their password until they login and change it.

That is probably quite a bit more coding, but I think that would be about your best option if you're using one way encryption like MD5. Most, if not all of the software that I've used, which uses MD5 for passwords seems to have a feature that works this way.

Another option would be to use RC4 if you wanted a way to encrypt and decrypt passwords.
deadserious is offline  
Old 09-18-2003, 02:42 PM   #4 (permalink)
NamePros Member
 
Join Date: Jul 2003
Posts: 120
185.00 NP$ (Donate)

web guru is an unknown quantity at this point


Thanks dead thats a great idea!!
web guru is offline  
Old 10-08-2003, 08:50 AM   #5 (permalink)
New Member
 
$D$2's Avatar
 
Join Date: Oct 2003
Posts: 14
21.00 NP$ (Donate)

$D$2 is an unknown quantity at this point


Can I get a copy of this code, I would like to encrypt it into my own website!

Thanks!

P.S. Your script sounds great!
$D$2 is offline  
Old 10-08-2003, 01:24 PM   #6 (permalink)
Senior Member
 
Join Date: May 2003
Posts: 2,211
6,170.25 NP$ (Donate)

adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough

Breast Cancer
Quote:
Originally posted by $D$2
Can I get a copy of this code, I would like to encrypt it into my own website!

Thanks!

P.S. Your script sounds great!
why dont u make it urself
adam_uk is offline  
Old 10-08-2003, 09:29 PM   #7 (permalink)
NamePros Member
 
Join Date: Sep 2003
Posts: 33
50.00 NP$ (Donate)

Corey Bryant is an unknown quantity at this point


Check out: http://www.outfront.net/spooky/login.htm for a free version of a similar script.
__________________
Corey
Merchant Accounts 4 Less
Corey Bryant is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 11:14 PM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85