Although some laws against cybercrime are effective and many criminals have been prosecuted under them in the United States, there are two major difficulties with them. The first is that the internet is not restricted to a single country, but data flows freely across international borders. Thus a law which applies in a single nation rather than globally is ineffective. The second issue is that there needs to be a trade-off between internet freedom and prevention of cybercrime. Some of the recent controversies over SOPA and PIPA suggest that it is difficult to restrict crime without infringing on freedom.