Here's an article on recently proposed legislation.
Relevant principle: Don't punish people for what they might do.