I've been on both sides of the table (both hired and been hired remotely) and this is covered under the standard employment contract.
I think my comment is being downvoted so much because it is perceived as (possibly even) racist? That would be far from the truth. I wrote the comment because I genuinely thought about outsourcing dev work for an app I am working on, but decided against it because I was afraid my code would end up somewhere on the internet.
* I guess if your code was sooo valuable someone could be tempted into cheating it could happen.. but if that is the case, a US developer would behave no different.
Yes, you have to weigh the risks and rewards, and if having your app source code disseminated would break you, then I'd want a high degree of control too. I have been given quite a lot of trust in my remote jobs and I haven't breached it, but I believe the companies involved would have been able to sue (so they weren't as helpless as an individual coder), and even if I had turned out to be morally corrupt, it wasn't something where stealing it would have given me much of a material advantage anyways (enterprise code is very much tailored to fit).
BTW this also shows that having on-site employees is not a protection against frauds/thieves...