In terms of games, developers should compile faulty versions of the game and put them up on file sharing sites both before and after the real game is actually published on the market. Let the pirates copy the faulty versions around and spread them, making it harder later for pirates to track down the genuine versions.
The faulty versions should contain very subtle bugs - like random corruption of save files at infrequent times, or the end of the game simply not being there, it just crashes out at a certain point.