Masking data from any SQL database

Masking data from any SQL database

Privacy of information is becoming more and more important to the world and to our customers. One signs of this, is that I get asked frequently to mask data in reports or when exporting information from a database.

SQL 2019 has some cool features for this functionality. However most of my customers don’t have this version yet and even if they did, we are not supposed to change the database structure of the Exact Applications.  

To help out I have written a small SQL Data masking function which can be used on any SQL database. This function can then be called in any query which retrieves data:

SELECT dbo._fn_Axians_DataMasker(<Field>,<Option>)

F.e.

SELECT dbo._fn_Axians_DataMasker(FullName,1) from Humres

The function supports the following options:

No alt text provided for this image

The code can be downloaded here.

It is free to use, but also comes without warranty and disclaimer to use at own risk.

Mask Away!

If you found this article helpful, please Like & Share!

For some of my previous posts see: 

Exact Synergy: Email notification of new workflow

Exact Synergy & Globe: Where are my debtors!

We need more celebrations in Exact e-Synergy!

Exact Synergy: Now you see it, now you don’t

Exact Synergy: Creating extra buttons in Requests and for fun giving the buttons some color

Exact Synergy: “A Project that will not fit on one page cannot be understood.”

Exact Synergy: “No man needs a vacation so much as the man who has just had one.” 

Exact Synergy: Turning free fields into hyperlinks

Displaying contact person information in an Exact Synergy Workflow Request

Getting the most out of Exact Synergy Enterprise

The security audit reports Exact Synergy Enterprise

 



Ha, mooi gevonden, Cees... Toen ik de titel las dacht ik even aan het encrypten van views, procedures en functions in de database (https://andrespeek.com/Blog/SQLEncryption) zodat anderen er niet met jouw werk vandoor gaan... Maar dit is heel anders... :-) Erg handig deze ook voor situaties waarbij je iets wil laten zien wat je nij een andere klant gemaakt hebt, zonder nu direct daar het klanten- of artikelbestand van weg te geven... Ja, SQL 2019 heeft daar ook opties voor, maar deze vind ik dan toch handiger... Deze gaat in de toolbox hier... Dank daarvoor!

Like
Reply

To view or add a comment, sign in

More articles by Cees Meuleman

  • Het anonimiseren van persoonsgevens in Exact Globe (+)

    Het recente datalek van Odido heeft het belang van goed data management weer eens aangetoond. Ook exact Globe heeft…

  • Integrating Exact Synergy and Chat GPT

    Exact Synergy from the Exact software company in Delft and Chat GPT from OpenAI. Both two very popular and powerful…

    8 Comments
  • Geef je samenwerking een boost met Exact Synergy van Exact Software

    In de razendsnelle zakenwereld van vandaag zijn organisaties voortdurend op zoek naar manieren om samenwerking te…

    4 Comments
  • Increase your password security by 1000% and still be able to remember it!

    We all know the longer the password, the better is. A random generated password by a security tool or a famous phrase…

    3 Comments
  • That’ll be the date!

    For consultants who work with Synergy & Globe for a long time knowledge of SQL is essential. Whether we are making…

    4 Comments
  • Picking the right one

    Did you know you can have a field with a link to anything in an Exact Synergy request? It’s been a while since my last…

    3 Comments
  • Capturing the essence of Exact Synergy

    “The combined power of a group of things, when they are working together, that is greater than the total power achieved…

    1 Comment
  • Exact Synergy: RTFM!

    An easy way to replacing your written helpfiles & instructions with instruction video’s Today a post with a bit of a…

    4 Comments
  • Exact Synergy: Email notification of new workflow

    Have you ever gotten the question from your users \ customers: Can’t I just get an email if there is something in my…

    3 Comments
  • Exact Synergy & Globe: Where are my debtors?

    Do you sometimes have problems with the exchange of debtors\creditors between Synergy and Globe? Are you missing…

    4 Comments

Explore content categories