Whitemark: Steganographic encoding of a watermark in the whitespace of text
github.com
github.com
https://github.com/c00kiemon5ter/ioccc-obfuscated-c-contest/...
The author, Stephen Sykes, submitted a program that encodes a message into the whitespace of another file. Since whitespace doesn't matter in C, he encoded the encoder into the source of the decoder and only submitted the source for the decoder. Neat!
What you want is something that cannot be easily removed from the message without also affecting the meaning of the cover message. I am thinking of some sort of encoding that uses orthographic errors that are not trivial to fix automatically (e.g. substitute words with valid homophones, instead of changing individual characters). That would be still easy to detect, so you probably need a very low bandwidth channel to make it indistinguishable from a typical text with mistakes.
Doing this with multimedia is probably far easier.
It's been a long time since I read it, but if I recall correctly, the UK government has been encoding the identity of the receiver of highly sensible information in this fashion for a long time. Probably it is SOP by now in most environments where truly important secrets are exchanged.
Also of course there are multiple .'s and ;'s in unicode so you could encode more data in punctuation characters like them.
This could be useful to see who leaked a script, for example.
http://www.metafilter.com/154087/Zalgo-text-would-be-kinder#...
Tool called Whitespace used to encrypt messages
I suspect that the common law legal systems would approach this via case law. Unless case law exists already I think that if you wanted to claim ownership of a file you'd need to present your case including expert witnesses and persuade a judge/jury of its validity.
Invisible Secrets [http://www.east-tec.com/invisiblesecrets/] has a mode for this that works quite well on HTML source. Rendering is unchanged and you have to be looking at the source and looking at the spacing to even see the difference manually.