Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Dec 2006
    Posts
    9
    Plugin Contributions
    0

    Default Customer Passwords

    I was wondering what type of encryption is used on the customer passwords. I am trying to setup a seperate reseller web site which I am using ColdFusion to code. I usually use the mysql PASSWORD function to encrypt my passwords. Does anyone have any insight on this?

    Thanks!

    - James

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Customer Passwords

    Zen Cart encryption uses MD5+SALT... you can see the logic in the includes/functions/password_funcs.php file in case you need to re-use that intelligence to keep passwords sync'd using same encryption methods
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Dec 2006
    Posts
    9
    Plugin Contributions
    0

    Default Re: Customer Passwords

    I'm basically needing to read the password information from that file to authenticate a user on a different subdomain. I'm not proficient in PHP as I am in ColdFusion. So I am writing my new script in CF. I need to be able to authenticate the users using the zen database and passwords. Is this going to be possible?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Customer Passwords

    If you use the same logic that Zen Cart uses, translating the code into CF syntax, you'll be fine.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Dec 2006
    Posts
    9
    Plugin Contributions
    0

    help question Re: Customer Passwords

    Where would I find the key that is used to encrypt/decrypt the passwords?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Customer Passwords

    Quote Originally Posted by MunchSoft View Post
    Where would I find the key that is used to encrypt/decrypt the passwords?
    The answer is here:
    Quote Originally Posted by DrByte View Post
    Zen Cart encryption uses MD5+SALT... you can see the logic in the includes/functions/password_funcs.php file in case you need to re-use that intelligence to keep passwords sync'd using same encryption methods
    - retrieve the password from the database
    - pass the typed-in-password and the retrieved password to the zen_validate_password() function. It'll compare them and return a result.
    - if it returns true, it's a match.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Customer Passwords
    By kenny724 in forum General Questions
    Replies: 3
    Last Post: 25 Sep 2010, 11:33 AM
  2. Customer's Passwords
    By zidain in forum General Questions
    Replies: 5
    Last Post: 5 Jun 2010, 08:10 AM
  3. Reset customer passwords
    By 720moto in forum General Questions
    Replies: 10
    Last Post: 18 Jun 2009, 04:57 PM
  4. Customer passwords
    By petek in forum Customization from the Admin
    Replies: 7
    Last Post: 13 Dec 2008, 05:50 AM
  5. Customer Passwords
    By windwoman in forum Managing Customers and Orders
    Replies: 6
    Last Post: 22 Jul 2008, 07:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg