SlideShare a Scribd company logo
1 of 11
Data Privacy Through
Data Masking
Table of Contents
•Introduction
•Why data masking is important?
•Nullification
•Substitution
•Encryption
•Conclusion
Introduction
•Data protection is a critical component
of the analytics business and it is
sometimes a requirement for
companies in certain countries where
information laws are very strict.
•Data Protection Act 1998 (UK)
•EC directive 94/95(EU)
•HIPEA (US).
Why data masking is
important?
•To ensure that sensitive information are not leaked
and used by unauthorized parties in possibly illegal
activities, it is essential that protection in the form of
data masking be applied to all data.
•Data masking makes it more difficult for
unauthorized parties who might have accessed the
data illegally to obtain critical information.
•Data masking also allow companies which require
analytics services to be sure that their data will not
be used by the service providers for other
purposes.
Nullification
•Nullification is the process of neutralizing
certain sections of the data by way of
substituting the information with a single null
value.
•Usually the null value used is X or an empty
space, but there are other choices.
•Below is a snapshot of a code that does
nullification.
Nullification
/**********************************************************************************
NULLIFICATION CODE EXAMPLE
***********************************************************************************/
DATA CREDIT_CARD;
SET CREDIT_CARD;
NEW_CARD_NO = CARD_NO;
DO I = 1 TO 12;
SUBSTR(NEW_CARD_NO,I,1) = 'X';
END;
DROP I;
PUT CARD_NO = NEW_CARD_NO =;
RUN;
CARD_NO=4211569111000001 NEW_CARD_NO=XXXXXXXXXXXX0001
CARD_NO=4211569111000002 NEW_CARD_NO=XXXXXXXXXXXX0002
CARD_NO=4211569111000003 NEW_CARD_NO=XXXXXXXXXXXX0003
CARD_NO=4211569111000004 NEW_CARD_NO=XXXXXXXXXXXX0004
CARD_NO=4211569111000005 NEW_CARD_NO=XXXXXXXXXXXX0005
CARD_NO=4211569111000006 NEW_CARD_NO=XXXXXXXXXXXX0006
Substitution
•Substitution is the process of replacing a
section of the information with pseudo
information.
•Usually a fixed length of the information will
be replaced a randomly generated number;
this number is fixed throughout for all the
values.
•Below is a code showing how this is done.
Substitution
/**********************************************************************************
SUBSTITUTION CODE EXAMPLE
***********************************************************************************/
DATA CREDIT_CARD;
SET CREDIT_CARD;
NEW_CARD_NO = CARD_NO;
SUBSTR(NEW_CARD_NO,1,8) = '12345678';
PUT CARD_NO = NEW_CARD_NO =;
RUN;
CARD_NO=4211569111000001 NEW_CARD_NO=1234567811000001
CARD_NO=4211569111000002 NEW_CARD_NO=1234567811000002
CARD_NO=4211569111000003 NEW_CARD_NO=1234567811000003
CARD_NO=4211569111000004 NEW_CARD_NO=1234567811000004
CARD_NO=4211569111000005 NEW_CARD_NO=1234567811000005
CARD_NO=4211569111000006 NEW_CARD_NO=1234567811000006
Encryption
•Encryption is the process of masking
the information via an algorithm that
renders it impossible to retrieve the
original information without the key.
•The original information is usually
transformed by a bit operation with a
key.
•Below is a snapshot of the code.
Encryption
/**********************************************************************************
ENCRYPTION CODE EXAMPLE
***********************************************************************************/
DATA CREDIT_CARD;
SET CREDIT_CARD;
NEW_CARD_NO =
COMPRESS(SUBSTR(CARD_NO,1,8)||BXOR(INPUT(SUBSTR(CARD_NO,9,8),8.),'123456
78'));
PUT CARD_NO = NEW_CARD_NO =;
RUN;
CARD_NO=4211569111000001 NEW_CARD_NO=421156911816975
CARD_NO=4211569111000002 NEW_CARD_NO=421156911816972
CARD_NO=4211569111000003 NEW_CARD_NO=421156911816973
CARD_NO=4211569111000004 NEW_CARD_NO=421156911816970
CARD_NO=4211569111000005 NEW_CARD_NO=421156911816971
CARD_NO=4211569111000006 NEW_CARD_NO=421156911816968
Conclusion
•Data masking is a simple and yet
crucial process in data warehousing
and analytics.
•SAS provides many different options
for users who wish to mask their data.

More Related Content

What's hot

Top 10 Best Practices for Implementing Data Classification
Top 10 Best Practices for Implementing Data ClassificationTop 10 Best Practices for Implementing Data Classification
Top 10 Best Practices for Implementing Data Classification
Watchful Software
 
Hadoop Training | Hadoop Training For Beginners | Hadoop Architecture | Hadoo...
Hadoop Training | Hadoop Training For Beginners | Hadoop Architecture | Hadoo...Hadoop Training | Hadoop Training For Beginners | Hadoop Architecture | Hadoo...
Hadoop Training | Hadoop Training For Beginners | Hadoop Architecture | Hadoo...
Simplilearn
 

What's hot (20)

Best Practices in Metadata Management
Best Practices in Metadata ManagementBest Practices in Metadata Management
Best Practices in Metadata Management
 
JSON Data Modeling in Document Database
JSON Data Modeling in Document DatabaseJSON Data Modeling in Document Database
JSON Data Modeling in Document Database
 
Database security
Database securityDatabase security
Database security
 
Web Security
Web SecurityWeb Security
Web Security
 
Master Data Management - Aligning Data, Process, and Governance
Master Data Management - Aligning Data, Process, and GovernanceMaster Data Management - Aligning Data, Process, and Governance
Master Data Management - Aligning Data, Process, and Governance
 
Master Data Management
Master Data ManagementMaster Data Management
Master Data Management
 
Data classification-policy
Data classification-policyData classification-policy
Data classification-policy
 
IT Security and Risk Mitigation
IT Security and Risk MitigationIT Security and Risk Mitigation
IT Security and Risk Mitigation
 
CDMP Overview Professional Information Management Certification
CDMP Overview Professional Information Management CertificationCDMP Overview Professional Information Management Certification
CDMP Overview Professional Information Management Certification
 
Big data Analytics
Big data AnalyticsBig data Analytics
Big data Analytics
 
Data Modeling & Metadata Management
Data Modeling & Metadata ManagementData Modeling & Metadata Management
Data Modeling & Metadata Management
 
Denodo Data Virtualization Platform: Scalability (session 3 from Architect to...
Denodo Data Virtualization Platform: Scalability (session 3 from Architect to...Denodo Data Virtualization Platform: Scalability (session 3 from Architect to...
Denodo Data Virtualization Platform: Scalability (session 3 from Architect to...
 
Reference master data management
Reference master data managementReference master data management
Reference master data management
 
Database Administration
Database AdministrationDatabase Administration
Database Administration
 
Cyber Security Layers - Defense in Depth
Cyber Security Layers - Defense in DepthCyber Security Layers - Defense in Depth
Cyber Security Layers - Defense in Depth
 
Top 10 Best Practices for Implementing Data Classification
Top 10 Best Practices for Implementing Data ClassificationTop 10 Best Practices for Implementing Data Classification
Top 10 Best Practices for Implementing Data Classification
 
Best Practices for Implementing Data Loss Prevention (DLP)
Best Practices for Implementing Data Loss Prevention (DLP)Best Practices for Implementing Data Loss Prevention (DLP)
Best Practices for Implementing Data Loss Prevention (DLP)
 
Data Catalogues - Architecting for Collaboration & Self-Service
Data Catalogues - Architecting for Collaboration & Self-ServiceData Catalogues - Architecting for Collaboration & Self-Service
Data Catalogues - Architecting for Collaboration & Self-Service
 
Hadoop Training | Hadoop Training For Beginners | Hadoop Architecture | Hadoo...
Hadoop Training | Hadoop Training For Beginners | Hadoop Architecture | Hadoo...Hadoop Training | Hadoop Training For Beginners | Hadoop Architecture | Hadoo...
Hadoop Training | Hadoop Training For Beginners | Hadoop Architecture | Hadoo...
 
Data Staging Strategy
Data Staging StrategyData Staging Strategy
Data Staging Strategy
 

Viewers also liked

DB16-Program-FINAL-small
DB16-Program-FINAL-smallDB16-Program-FINAL-small
DB16-Program-FINAL-small
Latasia Brown
 
Curtis Martin Resume Oct 2015 Controller
Curtis Martin Resume Oct 2015 ControllerCurtis Martin Resume Oct 2015 Controller
Curtis Martin Resume Oct 2015 Controller
Curtis Martin
 
Kleeneze 2010 ewb 48
Kleeneze 2010 ewb 48Kleeneze 2010 ewb 48
Kleeneze 2010 ewb 44
Kleeneze 2010 ewb 44Kleeneze 2010 ewb 44
Shared Value in the Pharmaceutical Industry
Shared Value in the Pharmaceutical IndustryShared Value in the Pharmaceutical Industry
Shared Value in the Pharmaceutical Industry
Robert Au
 

Viewers also liked (17)

Data masking a developer's guide
Data masking a developer's guideData masking a developer's guide
Data masking a developer's guide
 
DMsuite Static & Dynamic Data Masking Overview
DMsuite Static & Dynamic Data Masking OverviewDMsuite Static & Dynamic Data Masking Overview
DMsuite Static & Dynamic Data Masking Overview
 
DB16-Program-FINAL-small
DB16-Program-FINAL-smallDB16-Program-FINAL-small
DB16-Program-FINAL-small
 
Curtis Martin Resume Oct 2015 Controller
Curtis Martin Resume Oct 2015 ControllerCurtis Martin Resume Oct 2015 Controller
Curtis Martin Resume Oct 2015 Controller
 
Kleeneze 2010 ewb 35
Kleeneze 2010 ewb 35Kleeneze 2010 ewb 35
Kleeneze 2010 ewb 35
 
Kleeneze 2010 ewb 48
Kleeneze 2010 ewb 48Kleeneze 2010 ewb 48
Kleeneze 2010 ewb 48
 
Kleeneze 2010 ewb 44
Kleeneze 2010 ewb 44Kleeneze 2010 ewb 44
Kleeneze 2010 ewb 44
 
Kleeneze 2010 ewb 25
Kleeneze 2010 ewb 25Kleeneze 2010 ewb 25
Kleeneze 2010 ewb 25
 
Cross channel? No-line Handel und wie der Kunde ein optimales Einkaufserlebni...
Cross channel? No-line Handel und wie der Kunde ein optimales Einkaufserlebni...Cross channel? No-line Handel und wie der Kunde ein optimales Einkaufserlebni...
Cross channel? No-line Handel und wie der Kunde ein optimales Einkaufserlebni...
 
Michael Jay Freer - Information Obfuscation
Michael Jay Freer - Information ObfuscationMichael Jay Freer - Information Obfuscation
Michael Jay Freer - Information Obfuscation
 
Shared Value in the Pharmaceutical Industry
Shared Value in the Pharmaceutical IndustryShared Value in the Pharmaceutical Industry
Shared Value in the Pharmaceutical Industry
 
Business Redefined – Managing Information Explosion, Data Quality and Compliance
Business Redefined – Managing Information Explosion, Data Quality and ComplianceBusiness Redefined – Managing Information Explosion, Data Quality and Compliance
Business Redefined – Managing Information Explosion, Data Quality and Compliance
 
Resume 2016
Resume 2016Resume 2016
Resume 2016
 
Accelerating Devops via Data Virtualization | Delphix
Accelerating Devops via Data Virtualization | DelphixAccelerating Devops via Data Virtualization | Delphix
Accelerating Devops via Data Virtualization | Delphix
 
Informatica Cloud Summer 2016 Release Webinar Slides
Informatica Cloud Summer 2016 Release Webinar SlidesInformatica Cloud Summer 2016 Release Webinar Slides
Informatica Cloud Summer 2016 Release Webinar Slides
 
Test Data Management 101—Featuring a Tour of CA Test Data Manager (Formerly G...
Test Data Management 101—Featuring a Tour of CA Test Data Manager (Formerly G...Test Data Management 101—Featuring a Tour of CA Test Data Manager (Formerly G...
Test Data Management 101—Featuring a Tour of CA Test Data Manager (Formerly G...
 
Test data management a case study Presented at SiGIST
Test data management a case study Presented at SiGISTTest data management a case study Presented at SiGIST
Test data management a case study Presented at SiGIST
 

More from Murphy Choy (8)

Right time Vs real time
Right time Vs real timeRight time Vs real time
Right time Vs real time
 
Applications of the DOW loop
Applications of the DOW loop Applications of the DOW loop
Applications of the DOW loop
 
Building a decision tree from decision stumps
Building a decision tree from decision stumpsBuilding a decision tree from decision stumps
Building a decision tree from decision stumps
 
Data masking with classical ciphers
Data masking with classical ciphersData masking with classical ciphers
Data masking with classical ciphers
 
A simple introduction to candlestick charts in sas
A simple introduction to candlestick charts in sasA simple introduction to candlestick charts in sas
A simple introduction to candlestick charts in sas
 
General Insurance Conference 2014: Big Data for Insurance Companies
General Insurance Conference 2014: Big Data for Insurance CompaniesGeneral Insurance Conference 2014: Big Data for Insurance Companies
General Insurance Conference 2014: Big Data for Insurance Companies
 
Edison chen and Cammie Tse Scandal: A twitter study
Edison chen and Cammie Tse Scandal: A twitter studyEdison chen and Cammie Tse Scandal: A twitter study
Edison chen and Cammie Tse Scandal: A twitter study
 
Real Time Process Compliance using Nomenclature Approach
Real Time Process Compliance using Nomenclature ApproachReal Time Process Compliance using Nomenclature Approach
Real Time Process Compliance using Nomenclature Approach
 

Recently uploaded

Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
amitlee9823
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
MarinCaroMartnezBerg
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
amitlee9823
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
amitlee9823
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
JoseMangaJr1
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 

Recently uploaded (20)

Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
 
Anomaly detection and data imputation within time series
Anomaly detection and data imputation within time seriesAnomaly detection and data imputation within time series
Anomaly detection and data imputation within time series
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
 
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
 
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 

Data masking in sas

Editor's Notes

  1. In today’s presentation, we will go through several aspects of data privacy as well as the purpose of data masking. We will discuss the various techniques of data masking as well as how they can be implemented in SAS.
  2. Ever since the beginning of analytics, the industry has been plagued by data issues ranging from poor data quality to privacy issues. Since privacy is highly valued, several countries have implemented data protection measures to protect data collected. Several acts have been passed to enforce these measures. Such protection is critical to protecting the consumer rights. However, they can be quite nasty to companies who rely on consumer data. To overcome this, it is important to have methods to mask the sensitive information.
  3. Why is data masking important? Protecting your clients Makes outsourcing safer Illegal access to sensitive data will not compromise the privacy of the clients Adhering to the data protection acts of the various countries There are many methods to do data masking Nullification, Substitution and Encryption are some of the most common methods