paint-brush
How To Code To Prevent Sensitive Data Exposureby@oursky
338 reads
338 reads

How To Code To Prevent Sensitive Data Exposure

by Oursky3mJune 26th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

When a data field contains some sensitive value, it should be encapsulated within the below data class to achieve data obfuscation by default. Since the "masked" method is overridden, where “masked” is always returned, its actual value can’t be printed out unless explicitly requested. In cases where a developer really has to obtain a sensitive data field, they can do so by calling the function "getSensitive()" The result should be:Explicit Request on Sensitive Data. It’s still possible that the sensitive data value is shown on the UI.
featured image - How To Code To Prevent Sensitive Data Exposure
Oursky HackerNoon profile picture
Oursky

Oursky

@oursky

We don't just build apps. We create award-winning digital experiences and use technology to solve real-life problems.

About @oursky
LEARN MORE ABOUT @OURSKY'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Oursky HackerNoon profile picture
Oursky@oursky
We don't just build apps. We create award-winning digital experiences and use technology to solve real-life problems.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Buzzsumo
Zephyrnet
Learnrepo
Scien