How to mask credit card numbers in log files with Log4J?

前端 未结 2 1142
我在风中等你
我在风中等你 2020-11-29 04:58

Our web app needs to be made PCI compliant, i.e. it must not store any credit card numbers. The app is a frontend to a mainframe system which handles the CC numbers internal

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-29 05:35

    A better implementation of credit card number masking is at http://adamcaudill.com/2011/10/20/masking-credit-cards-for-pci/ . You want to log the issuer and the checksum, but not the PAN (Primary Account Number).

提交回复
热议问题