TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How do you protect your codebase from being stolen by engineers?

2 pointsby blacksoilabout 8 years ago
Hello all, I want to start hiring engineers to help me with the codebase that I&#x27;ve single-handedly worked on. I&#x27;m curious about how you guys protected your code when you did the same? In particular, I&#x27;m using interpreted language -- node.js -- so I don&#x27;t have the luxury of distributing parts of the system as binary :(<p>Thanks for the advice!

2 comments

ingenuous2about 8 years ago
This isn&#x27;t a problem, but hiring people you don&#x27;t trust is a problem. Part of that is setting expectations with a contract. Most of that is accepting that it&#x27;s going to be a risk, no matter what you do (there&#x27;s no DRM that will protect your code from your own engineers).<p>I recommend you don&#x27;t worry too much about this in particular. Have some basic legal protection with a contract, that should prevent another company from forming. Someone running off with your code and dominating your company without a legal entity of their own... would be unexpected.<p>Also, your code is unlikely to be so particularly novel that the specific implementation is your secret sauce. (Not trying to insult you -- maybe I&#x27;m wrong -- but generally the idea of the source as a trade secret, unless we&#x27;re talking Carmak&#x27;s inverse sqrt, it&#x27;s not that big a deal)
cjcenizalabout 8 years ago
Spend a hundred bucks and have a lawyer draft a contract for them to sign. You could also see if LegalZoom offers anything like this.