doubt on how to store credit card numbers in data base in web enabled applications

Gnana Deepthi

Gnana Deepthi

@gnana-deepthi-tv9Qkt Oct 26, 2024
i am going to do a miniproject in online telecommunications where i need to store credit card numbers of customers.Is there any open source encryption software available or is there any alternative.please help me in this regard.

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • simple

    simple

    @simple-3OHIl5 May 31, 2008

    Re: doubt on how to store credit card numbers in data base in web enabled applicatio

    Try OpenSSL....also google for it and you will surely find a lot of answers!!
    c ya!!
  • Prasad Ajinkya

    Prasad Ajinkya

    @prasad-aSUfhP Jun 1, 2008

    Re: doubt on how to store credit card numbers in data base in web enabled applicatio

    Deepthi,

    Answer is simple. Dont!!

    If you still have to do it (in case you have your own in-house payment gateway), then atleast have the following things in place -

    1. a strong SSL certificate (Thawte, Verisign, et al)
    2. SSL enabled webserver
    3. Stop direct access to the database server
    4. Stop direct root login on the database server
    5. Stop all extra ports on the database and web servers (keep the ssh port open, and that too only for one particular ip)
    6. Keep a strong password policy for both your servers
    7. Have all database accesses from the webserver through the internal interface and not on the external ones

    And that is just the start. Ideally, seek the advice of an ethical hacker on this.

    I would still stick with the first option of not storing the CC no.s 😀
  • Gnana Deepthi

    Gnana Deepthi

    @gnana-deepthi-tv9Qkt Jun 4, 2008

    Re: doubt on how to store credit card numbers in data base in web enabled applicatio

    thanx for suggestions