Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2008
    Posts
    74
    Plugin Contributions
    0

    Default To keep customer email address secret.

    email is business secret. i do not want to exposed to my staff or newbie hacker. for some one do not know zencart and php, so this way, i can keep my email secret.

    i want to encry customers email address at mysql. and then displace correct email, that is, decode if necessary. i know how to encode,decode. but i do not know where to put those code.

    1. when customer register, the code will encode the email and insert mysql.
    2. when send email to customer for welcome email and order confirmation email, the code will decode the email and send to correct email address.

    where to insert my code to get it work? or any better idea.

  2. #2
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: To keep customer email address secret.

    If they can hack into your db already, you are pretty much done :).For your employees, you dont trust them?
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #3
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: To keep customer email address secret.

    I suggest that you do a search for TABLE_CUSTOMERS. You'll probably find a use of the customer's email address close by each of them. As a backup you could also search on 'customers_email_address' as the specific database column, though that would be less reliable, since columns can be extracted using wildcards and written back as part of an array.

    I suspect that you will find a lot more usage being made of the email address than you are expecting, needing a lot of intrusive changes in the code. Also got to say that I think the benefits are very marginal. This information isn't normally encrypted and I can't really see a benefit unless you actually expect to be hacked or don't trust your staff, in which case those are the problems that really need to be resolved.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  4. #4
    Join Date
    Feb 2008
    Posts
    74
    Plugin Contributions
    0

    Default Re: To keep customer email address secret.

    anyone can see the mysql by look at configure.php to get mysql connection info, everybody kow where is configure.php.

    but maybe they do not know zencart well and do not know where is the encode/decode from. am i correct?

    when they get table customers from mysql,they get encoded email address.

    anyone give a advice, which code put user register info into mysql and which function do extract the email address and send the register welcome email and order confirmation email?
    Last edited by alvalong; 16 Apr 2009 at 10:17 AM.

 

 

Similar Threads

  1. v139h Customer Email Address Change
    By bartson2 in forum Managing Customers and Orders
    Replies: 2
    Last Post: 7 Jan 2013, 07:13 PM
  2. Email Address Exporter - How can I export the email addresses of every customer?
    By SpencerW in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 14 Oct 2011, 07:35 AM
  3. Email copy of customer order to second email address
    By WHOSYOURDADDY in forum Customization from the Admin
    Replies: 2
    Last Post: 13 Oct 2009, 03:31 AM
  4. Replies: 4
    Last Post: 9 Jun 2009, 08:17 PM
  5. show customer email address
    By archelaus in forum General Questions
    Replies: 1
    Last Post: 9 Aug 2008, 06:00 AM

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