Punish them.
I have said this before, but will say it again: These people will continue their relentless assaults on our privacy and freedom as long as it comes at no cost to them. We need to make the assault itself costly to them. They need to be put on notice that we are taking names and the penalty for assaults on the commons is to be, at the very least, disbarred from the commons.
People entering the Internet to entrap netizens or otherwise do them harm should be stopped at the doors.
It is possible, if we have the will, to use cryptographic techniques to create a new cyberspace where hostile agents of all stripes are effectively barred from entry.
We cannot seal everything up, so we also need to put into place laws that see evidence tainted by improperly obtained information as 'fruit of the poison tree'. As long as incentives outweigh costs, we will always be under attack.
Make no mistake, it is *you*, dear reader, that is under attack. You may feel that you are safe because you don't do anything wrong. Think again. The United States willingness to indulge in 'ex post facto' laws makes you vulnerable no matter how innocent you feel you may be. Your actual innocence is irrelevant. These days, accusation is becoming equivalent to guilt.