Questions tagged [data-masking]

Data masking is a method of protecting or hiding data with place-holder or random characters, such as the mask used on a password entry field.

139 questions
61
votes
10 answers

Implement an input with a mask

I would like to implement a mask for a text input field which accepts a date. The masked value should display directly inside of the input. Something like this: I wrote the mask as a value in that example, but…
Stanislas Piotrowski
  • 2,294
  • 10
  • 35
  • 57
21
votes
5 answers

Mask sensitive data in logs with logback

I need to be able to search an event for any one of a number of patterns and replace the text in the pattern with a masked value. This is a feature in our application intended to prevent sensitive information falling into the logs. As the…
Michael Coxon
  • 2,737
  • 5
  • 35
  • 59
16
votes
7 answers

How to get the jQuery MaskedInput unmask() function to work properly?

I am trying to have one input on my page that I would like to have a U.S. phone number mask by default. If a end user clicks a checkbox specifing they would like to enter a International phone number I want the mask to be removed. I have tried…
Terry Nederveld
  • 704
  • 1
  • 6
  • 14
10
votes
7 answers

Character mask output data on select

I'm using SQL Server 2008. I would like to character mask the output data of a query. This is my data from a column on a table when doing a select: column1 384844033434 743423547878 111224678885 I would like an output like…
pyram
  • 857
  • 8
  • 22
  • 43
9
votes
3 answers

Data masking for data in AWS RDS

I have an AWS RDS (AuroraDB) and I want to mask the data on the DB. Does Amazon provides any service for data masking? I have seen RDS encryption but I am looking for data masking because the database contains sensitive data. So I want to know is…
Neron Joseph
  • 685
  • 7
  • 21
5
votes
3 answers

replace number greater than 5 digits in a text

a <- c("this is a number 9999333333 and i got 12344") How could i replace the number greater than 5 digits with the extra digits being "X" Expected Output: "this is a number 99993XXXXX and i got 12344" Code i tried: gsub("(.{5}).*", "X", a)
prog
  • 859
  • 4
  • 10
5
votes
1 answer

SQL Server Data Masking Minimum permissions needed to mask

I am in the process of masking some data in a SQL Server 2017 database. I have masked a column with this statement: ALTER TABLE lEmployee ALTER COLUMN FirstName nvarchar(160) MASKED WITH (FUNCTION = 'partial(2,"xxx",2)') And I can…
user3482471
  • 221
  • 3
  • 13
5
votes
1 answer

Validate data mask

I have a problem to validate data- mask. I need you where going "a" only become available the letters " VEJPG ". if anyone knows how it could do so thanks.
4
votes
2 answers

Masking column in stored procedure

First of all, as an admin of SQL Server, I'm trying to use standard database for masking column. CREATE TABLE [Person].[MyEmailAddress] ( [MyBusinessEntityID] [int] NOT NULL, [MyEmailAddressID] [int] IDENTITY(1,1) NOT NULL, …
Daleman
  • 609
  • 7
  • 15
4
votes
1 answer

How can I create custom dynamic data mask function in SQL Server?

In SQL Server 2016 or SQL Azure, there is a feature called Dynamic Data Masking. However, it only has 4 types of masks. Is it possible to create custom mask functions? And how can I do this? I want a mask function like below(replace alphabet…
L.W
  • 175
  • 1
  • 10
3
votes
1 answer

Python: Masking Named Entities in Email Text

I have created a python script to extract named entities as follows: # set java path java_path = r'C:/Program Files/Java/jre1.8.0_161/bin/java.exe' os.environ['JAVAHOME'] = java_path # initialize NER tagger sn =…
3
votes
1 answer

Dynamic data masking with Entity framework

Is it possible to use SQL's Dynamic data masking with Entity framework? If it is possible, is there any way to combine it with Asp.Identity? Project I'm working on requires that data is masked for certain user roles and visible to others. We are…
Matt
  • 1,058
  • 2
  • 14
  • 24
3
votes
2 answers

mysql data masking

Hi I'd like to a take a production database and use it in a private, development environment. But, I'd like to anonymize the data. I've been searching for an hour, but everything I find is for Oracle or SQL Server... nothing for mysql. I have…
Todd M
  • 952
  • 1
  • 13
  • 24
3
votes
0 answers

How to make a WebSocket frame data to hide/mask

Consider the following use-case: Say I am making the socket request from the browser (consider socket object is available and status is connected): So if you inspect in the developer tools of chrome/any browser, you will be able to observe…
Amol M Kulkarni
  • 19,000
  • 32
  • 110
  • 158
3
votes
1 answer

Data Masking in asp.net

i want to display confidential data like bank account number, mobile numbers in 123**********1232 format in ASP.net controls. Like 022-23232-2322 will be 022*********2322 and on update it should save the actual data entered. How it would be…
Abdul
  • 1,726
  • 7
  • 27
  • 54
1
2 3
9 10