Recently in order to expand our products, we have had to bring in external contractors, especially those working remotely. Some of the tasks involve porting an existing application on one platform to another.
In order to effectively port some of these applications, sharing existing code with the contractor is inevitable. Yet, this is the most risk taking things of all. How do you share code / your livelihood, with a contractor and ensure it's not misused or recreated in another project? All I know, they could cancel the contract after a few weeks and go on and develop their own app using the stolen code.
I realize vetting and interviewing trust worthy candidates is the first step, but after having done that, what steps can be taken to ensure your code is safe from being reproduced illegally?