I don't believe there's a foolproof way to do this.
It's basically the usual cat-and-mouse game of an arms race.