简体   繁体   English

将标识嵌入文件中并防止检测

[英]embed identification in file and resistance to detection

Say I'm distributing a file that I want to be secret, and I assign each person that I give the file a unique id. 假设我正在分发一个我想保密的文件,并且我为每个给该文件的人分配了唯一的ID。

How can I embed this id in the file so that I can determine who leaks my file? 如何将此ID嵌入文件中,以便确定谁泄漏了文件?

Some file formats have a section in which I can put information that won't render the file corrupt. 某些文件格式有一个部分,我可以在其中放置不会使文件损坏的信息。 But this is easily detectable by looking at the specific section, or by changing the information. 但这很容易通过查看特定部分或更改信息来检测。

I would guess that any solution is identifiable by byte comparison, but I was wondering if there exists solutions that embed the id in a part that if changed, renders the file corrupt. 我猜想任何解决方案都可以通过字节比较来识别,但是我想知道是否存在将id嵌入到某个部分的解决方案,如果更改该部分,则会导致文件损坏。 (I would guess this would be file format specific, but this question is to learn about techniques, so I'd gladly read about specific cases.) (我想这将是特定于文件格式的,但是这个问题是为了学习技术,所以我很乐于阅读特定情况。)

Thanks! 谢谢!

For image files and Unicode text you may use Steganography . 对于图像文件和Unicode文本,您可以使用隐写术

For audio files there are special watermarking algorithms that add noise not heard by humans. 对于音频文件,有特殊的水印算法,会增加人类听不到的噪声。

You may use metadata to add watermarks, but they can be easily removed by end user. 您可以使用元数据添加水印,但是最终用户可以轻松删除它们。

See at what is currently possible in this SO question: Good library for Digital watermarking 查看此SO问题当前有哪些可能: 数字水印的良好库

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM