In a sister thread in this forum, Whack-a-mole dug up some cites on this matter.
I am not a lawyer, so I can’t really judge the merits of the arguments, but it looks like the process is (probably) legal, if not palatable.
Here is the sister thread: http://boards.straightdope.com/sdmb/showthread.php?t=555409&page=2