Partial passwords

Kenneth Brody kenbrody at bestweb.net
Mon Nov 26 08:38:57 PST 2007


Quoting Walter Vaughan (Mon, 26 Nov 2007 11:10:08 -0500):

> I'd like to add in some sort of PCI compliance into some of our legacy
> filePro apps. Does anyone have some sort of edit that would keep the
> credit card info, but would display it in a PCI compliant form? Like if
> 4111111111111111 where stored, only show ************1111, but still
> have the ability recover the entire field for futher processing.
>
> Don't think it'll be possible, without breaking the fields apart, and
> beaking a ton of code.

Use a dummy field as the display value, keeping the full number in another
field.

Pass the number through an edit to replace everything but the last 4 digits
with "*"s:

keep4:{ (N N N N) @ | numstar }
numstar:(!"1"!|!"2"!|!"3"!|!"4"!|!"5"!|!"6"!|!"7"!|!"8"!|!"9"!|!"0"!) <"*">

-- 
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list