But you're back to program logic again - and that is the problem that RCAC is supposed to help avoid.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Feb 20, 2018, at 1:21 AM, Gad Miron <gadmiron@xxxxxxxxx> wrote:

Just wondering

If the FieldProc returns an indication whether the value returend is
masked/unmasked
Then

You can use RPG free format UPDATE record %fields(FirstName: LastName)
in case of a masked value (i.e unauthorized user)

and UPDATE record %fields(CrdCardNo: FirstName: LastName)
in case the Card No. is not masked (user is authorized).

Gad



message: 2
date: Mon, 19 Feb 2018 16:03:49 -0500
from: Jon Paris <jon.paris@xxxxxxxxxxxxxx>
subject: Re: Implementing masking either via RCAC or encryption
fieldproc

Hmmm - thanks Mark - have no idea how that happened.

It was linked from the second article anyway but ...

Here is the correct link to Kent's piece:

https://www.mcpressonline.com/analytics-cognitive/db2/
techtip-protecting-against-accidental-updates-with-masked-values<
https://www.mcpressonline.com/analytics-cognitive/db2/
techtip-protecting-against-accidental-updates-with-masked-values>


Jon Paris

www.partner400.com
www.SystemiDeveloper.com <http://www.systemideveloper.com/>
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: http://amzn.to/2dEadiD


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.