I want to outsource some part of my web app to freelancers. But i dont want them to own the whole source code. What is the best way to control the source code to them?

Does using remote desktop works, where they need to remotely access our PC in office and work on the code? We can block hotmail, gmail, yahoo mail.