Actully Martin, I have developed some customization.
Where an Admin can choose Tables and fields for which the data has to be masked.
And it is working fine in front End ,
For example if the Admin has chosen (LogisticsElectronicAddress as Table) then (Locator as the Field).
Then when user opens a form which has datasource as "LogisticsElectronicAddress " and field as "Locator " then the data will be masked and its working now.
Only thing is when user exports data to excel then the field chosen is not being masked.
So only I am looking for a way to customize microsoft standard excel export option to mask the values if the export contains a column in selected in my customization.
Hope this clarifies you better