简体   繁体   中英

How to add an invisible header to a text file?

Good morning everbody,

I would like to know if there is a possibility to add an invisible text block to a text file. It could be a header or at the bottom of the file, it does not matter.

It should work like this, I open a text file I add my normal text, and before closing the file I add the secret text. When I open it again I should be able to detect if there is any secret block that is written.

Is that doable? Is there any library that does this? I cannot find anything close to this (I work with C#)

Thanks, Eric

No, this is not possible. If the data is saved in a file, it can be read. Hiding of data is impossible. It is either present (and thus readable), or not.

You only option would be to encrypt your data as mikelegg has commented above.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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