ASK HN: Best practices for storing Credit Card information
https://news.ycombinator.com/item?id=327259We run a hosted e-commerce app, and currently store credit card numbers, expirations and cvv2s as plaintext in the DB.
Questions for the community: 1. Is this a crime or criminal negligence? It should be ... 2. What are the best practices for storing credit card data in a secure, PII safe fashion? One way hashes? Last four only? Use some kind of vault service?
Please advise as I am ready to make this change yesterday. We do need to store the numbers somewhere for repeat customers ...