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...
Richard__Harlan
Jan 13, 2014Historic F5 Account
You would have to do it in a iRule.
To get the cookie you would do something like the following
set username [[HTTP::cookie] ]
Then you can compare the username to a data group to see if what policy to enable.
https://devcentral.f5.com/wiki/iRules.class.ashx
now the one thing I am not sure about is if you need to start the iRule with ASM::disable then enable it with the correct policy.
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