This question already has an answer here:
I have an idea that if I have programmers under me that it would be better if the company give each of them a [good] laptop on which they can develop conveniently and allow them to take their machine home - whether to continue their work or for further development
It then struck me that the company code could be used against the company - selling a copy of it to potential customers or competitors.
I have read stories of CIA/FBI agents copying sensitive/unauthorized information home and giving them to unauthorized users
Even if they were not allowed to take their machine home, they could come to work with external drives and copy these codes home, modify them, and sell.
How bad can this be for a company? Can it be prevented and how?