[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Watermarking checkouts

From: Matthew L Daniel <mdaniel_at_scdi.com>
Date: 2005-08-20 06:08:00 CEST

> I don't believe that there are any hook scripts available to filter a
> file's contents as it is being checked out though.

I believe (with an Apache-hosted svn repo) a well-crafted mod_filter
could accomplish this task. Whether the files would be marked as "dirty"
in the WC would depend on the exact mechanism svn uses for determining
such a detail. In my head, so long as the file svn uses for the "revert"
command matches the "checked out" copy, it wouldn't be dirty.

As far as the actual watermarking (in a non-intrusive way, and there's
the rub), sequentially altering local variables to construct a "bible
code" (sorry, I don't have the actual cryptographic glossary in front of
me, but when you take the 2nd letter of word 1, the 4th letter of word
3, etc, and it spells out a message) is one idea. Conceptually, one
would only need to replace 33 tokens to be able to represent a GUID in
the code.

I responded because I like the challenge of this question, but I feel
it's a terrible idea to try and solve this problem using an SCM tool.

  -- /v\atthew

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Aug 20 06:09:48 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.