PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > Web Site Design > Content Management Systems > E-commerce and Shopping Carts
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Search this Thread
Old 7-20-03, 02:30 PM   #1
gsh
 
Posts: n/a
Encrypted Password

First question is: When "Guest's" create an account, is the password Encrypted ?

Example: osCommerce catalog front page, Guest create an account. In this process an account is created, and when
returning, just typing in email address and password.
is this password encrypted ?


Second Question is: How do I create an Encrypted password
automatically and store to the data base for that user ?

Example: I am looking at having multiple accounts that are NOT for Commerce, or not just purchasing items on a commerce site. This will be more of an on going service to many. So I need to create the accounts with Encrypted Passwords with out my intervention.

Reason: As recent laws dealing with doing business with clients in California require encrypted passwords, or the site owner will need to notify every person on their system if the system is breached. Leaving the site owner (me for my pages) liable !

Any help would be greatly appreciated.


Thanks

Steve
 
Old 7-20-03, 05:14 PM   #2
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
The password is encrypted using an MD5 hash function and a randomly generated salt. This is a one-way hash - there is no way to reconstruct the password without brute-force "try all combinations".

All the code for creating the accounts, including hashing the password, is in the sources. It's just a SMOP (Simple Matter Of Programming) to use these to add accounts based on a list.

Note that if you use the osc option of accepting credit card numbers for manual processing. the CC number is stored, by default, unencrypted in the database. If you use a payment service, then the CC number isn't stored in your osc database, as far as I know.
__________________
Steve
stevel is offline  
Old 8-3-03, 03:13 PM   #3
gsh
 
Posts: n/a
I am more concerned with passwords for users to
my site. I will be storing their passwords and
usernames in a database, and I will need to
encrypt their passwords. I have not yet
seen the methods in the sources. If you
say its there I will find it. I have many hours
of other stuff to do first.
Thanks for your reply.
 
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 09:40 AM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.