Basic architecture: Files UMask V28 Basic architecture: Files Internal use January 20th, 2018 | Allan Martin Allan@abmartin.com
UMask File Extension Modules FXM File eXtention Modules - compiled programs that perform specific masking operations against data types Flat File Module - Files which can be viewed within Notepad (.LOG, .HTML, .TXT, …) PDF Module - Adobe PDF editing at raw base level (no Adobe engine required) XML Module - XML MSDOC Module – Microsoft Document editor (.DOC, .XLSX, PPT, …) EX Module - Manipulate Outlook PST file and MS Exchange EDB files DI Module - Edit digital images (DICOM, MRI, JPG, TIFF, BMP…) DB Module – Mask databases (DBF, Access,DB2, SQL Server, Oracle, …)
Overview UMaskFF UMaskPDF UMaskIMG UmaskDB UMaskMSDoc UMaskXML File/Folder Rules Logfile Source file/folder Target file/folder … Drop-in modules UMaskFF UMaskPDF UMaskIMG UmaskDB UMaskMSDoc UMaskXML Bat File System Module DIR Module Name Reg Rules Dir Reg Riles Name Log path Rules Find/replace Regular expression Region replace X/Y …
Overview: XML structure File/Folder Rules Logfile Source file/folder Target file/folder … Flat File:
Overview: XML structure File/Folder Rules Logfile Source file/folder Target file/folder … Image:
Overview: XML structure File/Folder Rules Logfile Source file/folder Target file/folder … MS Doc.
Overview system Contains default Umask settings including: Located in default Umask directory Contains default Umask settings including: Default Rules and Log directory Default module drop-in directory Global variable overrides Licensing information Auditing mode System Module DIR Module Name Reg Rules Dir Reg Rules Name Log path
Overview Rules Delimiter #Custom Social and DOB Region Replace &ssn=|&no=|000-00-0000&dob=12/12/99 #Custom Website www.kayak.com|www.REDACTED.com #Custom IP \d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|00.0.0.00 Region Replace Direct Replace Regex. Rules Find/replace Regular expression Region replace X/Y …
Search/Replace Methods Direct: Find and Replace: Lt Bruce Mercante | Lt Wayne Andrews To: Lt Bruce Mercante from the U.S. Department of Defense Executive branch. To: Lt Wayne Andrews from the U.S. Department of Defense Executive branch. RegEx: Pattern matching Replacement: ^\d{3}-\d{2}-\d{4}$| 123-45-6789 …Social Security Number: 619-44-3800. Date of Birth: 07/29/1963. Account num… …Social Security Number: 123-45-6789. Date of Birth: 07/29/1963. Account num… Region: Replace Area or Region: <from:> | </from:> | ‘REDACTED’ <LotusNotes234> <to> Bryan James </to> <from> Angela Mace </from> <subject> Team meeting </subject> <LotusNotes234> <to> Bryan James </to> <from> REDACTED </from> <subject> Team meeting </subject>
Overview "C:\abmartin\PROJECTS\UMASK\PROGRAM\UMASK2\Modules\UMaskMSDoc.exe" "C:\abmartin\PROJECTS\UMASK\PROGRAM\UMASK2\Modules\UMaskMSDoc.XML Bat File "C:\abmartin\PROJECTS\UMASK\PROGRAM\UMASK2\Modules\UMaskMSDoc.exe" –Sourcefile “C:\temp\trafficFine.docx” –Delimiter “@”
UMask Input Flat file – lists documents and rules Column Map Procedures and Exits Scan folder or Network DB Table – lists documents and rules CLI – direct call to UMask