Today, we are constantly requested to upload our IDs online, but how can we do it with a “marking” per site/company w/o it being noticed by those who store it?

The reason is that a buddy of mine just got a settlement from a company because his ID was stolen but his lawyer could prove that my friend “marked” his ID and had a legend with markings (he had 3 dots on a specific spot), showing the date, time, and to whom he uploaded it (the site/app) that was responsible for his ID leak. He got a settlement and it was a decent amount. More than I earn per year.

So, does anyone have any additional ideas on how to secure our document uploads?