Forum Discussion
Ziad_K_49340
Nimbostratus
Jan 13, 2014Masking credit card numbers based on username
Dears,
i am trying to use the credit card masking in a web application using the ASM but the customer wants to mask credit card for specific user and for other users he wants to leave the credit card...
M_4
Nimbostratus
Mar 05, 2014If the app is APM protected, this is really easy. 🙂
Use the CCN scrubber code (https://devcentral.f5.com/articles/irule-ccn-scrubber) and just add a user check around the masking portion.
if { [ACCESS::session data get "session.logon.last.username"] ne "username to allow cc access" } { mask CCN }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects