September 6, 2023 at 5:43 pm
How to enable dynamic data masking for blob data?
September 6, 2023 at 7:09 pm
How to enable dynamic data masking for blob data?
I guess my question is, what have you tried? I see no limitations in the documentation for the likes of VARCHAR(MAX) in the DDM documentation at the following link:
https://learn.microsoft.com/en-us/sql/relational-databases/security/dynamic-data-masking
Give it try and see what happens. I'm thinking that there's no difference between a VARCHAR(100) and a VARCHAR(MAX).
My disclaimer is, I've never used DDM before because it's not actually secure. If I did need to do it, I'd go to the link above and follow the instructions and any additional links it provides.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 6, 2023 at 11:04 pm
The data type is image. I used the function default. Can we use any other way of masking?
If you have a column with data type image. If you need to migrate the database to different server using backup & restore method. Do we need to consider anything while restoring the backup?
September 6, 2023 at 11:05 pm
Thank you.
The data type is image. I used the function default. Can we use any other way of masking?
If you have a column with data type image. If you need to migrate the database to different server using backup & restore method. Do we need to change anything after restoring the backup?
September 7, 2023 at 3:38 am
Again, I've not used DDM but, according to the documentation, it looks like the only function that will work with the IMAGE datatype is the DEFAULT function.
As for backups and restores, all of this appears to be stored in the database. I suspect the masking will travel with the database but, if it were me, I'd make a test database and test to make sure that guess is true because they say nothing about it in the documentation.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 7, 2023 at 3:39 am
@Everyone...
Any help here on this question? I've not used DDM and so I'm only able to shoot from the hip based on what the documentation says.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 7, 2023 at 7:00 am
I have never used DDM.
But, a few observations
Image data type is deprecated, and should be replaced with varbinary(max)
Since the data in image and (var)binary fields is not human readable, what is gained by masking it?
September 25, 2023 at 11:03 am
Thank you.
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply