How to protect your IP when outsourcing software development
How to protect your IP when outsourcing software development: IP assignment, NDAs, repository and account ownership, open-source licences, offboarding.

When you hire an offshore software development company, your product, its code and your business information are the most valuable things you share. Most IP problems aren't the result of theft. They come from vague contracts, code kept in the vendor's accounts, or licences nobody checked.
This guide covers how to protect your IP in practice, not just on paper.

What counts as your IP in a software project
- Source code, including scripts, configuration and infrastructure code
- Designs: wireframes, UI designs, design systems and brand assets
- Documentation: specifications, architecture notes and user guides
- Data: your customer data, product data and analytics
- Business information: plans, pricing, processes and know-how you share
- Credentials and accounts that run the product
1. Get the contract right
IP assignment
The contract should state that all work created for you is assigned to your company on payment, including pre-existing materials incorporated into your product, unless they're explicitly listed as licensed instead.
Background IP
Vendors often reuse their own tools, libraries or templates. That's fine if the contract says you receive a perpetual licence to use them as part of your product, and lists them.
Confidentiality
An NDA, or confidentiality clauses in the main contract, should cover your business information, survive the end of the contract, and bind the vendor's staff and subcontractors.
Governing law and disputes
Specify which law applies and how disputes are resolved, such as courts in your state or arbitration. It's far easier to agree this at the start than during a disagreement.
2. Control your code and accounts
Paper ownership means little if the vendor controls everything. Make sure:
| Asset | Who should own it |
|---|---|
| Code repository (GitHub, GitLab, Bitbucket) | Your organisation |
| Cloud hosting (AWS, Azure, Google Cloud, Vercel) | Your company account |
| Domain name | Your company, with your contact details |
| App Store and Google Play developer accounts | Your company |
| Analytics, Search Console and ad accounts | Your company |
| Third-party services (payments, email, maps) | Your company |
Vendors should be invited to your accounts with the permissions they need, not the other way round.

3. Manage access carefully
- Individual accounts for every person; no shared logins.
- Least privilege: each person gets only the access their work requires.
- Two-factor authentication on code, cloud and admin accounts.
- Separate environments: developers work with test data, not production customer data, wherever possible.
- Secrets management: API keys and passwords stored in a secure vault or environment settings, not in code.
4. Track third-party and open-source code
Modern software relies on open-source libraries. Most licences are permissive, but some impose obligations, such as sharing source code under certain conditions. Ask your vendor to:
- Keep a list of major dependencies and their licences
- Avoid licences incompatible with your business model unless you've approved them
- Never copy code from other clients' projects into yours
5. Plan offboarding from day one
Have a checklist for when a developer leaves, or the engagement ends:
- Remove access to repositories, cloud, tools and communication channels
- Rotate any shared secrets or API keys they could see
- Confirm all code is committed and documented
- Receive final documentation and credentials
- Confirm in writing that confidential information has been returned or deleted
Red flags
- The vendor wants to host code in their own repository "for now"
- Accounts are registered in the vendor's name
- The contract says nothing about IP, or only licenses it to you
- Reluctance to sign an NDA
- Shared logins across the team
An IP checklist for the first week
- Signed contract with IP assignment and confidentiality clauses
- Code repository created in your organisation's account
- Cloud hosting, domain and app store accounts in your company's name
- Individual logins for each team member, with two-factor authentication
- A shared password manager for any credentials the team needs
- A list of third-party services, libraries and licences to be maintained
- A named contact on both sides for security questions
What to check in a vendor's standard contract
| Clause | Watch for |
|---|---|
| IP ownership | Ownership that transfers only "on full payment of all invoices", which is common and reasonable, but check what happens to disputed invoices |
| Background IP | Broad rights for the vendor to keep and reuse code written for you |
| Licence to you | A licence instead of ownership, for code that should be yours |
| Subcontracting | Whether they can pass work to others without telling you |
| Confidentiality | Whether it continues after the contract ends |
| Termination | Whether you receive all code and documentation when it ends |
Common scenarios
The vendor uses its own framework or components. That's often fine and saves you money. Make sure you receive a permanent licence to use, modify and maintain those parts, even if you change vendors.
A freelancer on the vendor's team. Your contract should require the vendor to have IP assignment agreements with everyone who works on your project, including contractors.
Open-source libraries. Most are permissively licensed, such as MIT or Apache 2.0. Copyleft licences such as the GPL can impose obligations if you distribute the software. Ask for a list of dependencies and their licences.
This is general information, not legal advice. Have a lawyer familiar with technology contracts review important agreements.
Frequently asked questions
Who owns the code when you outsource software development?
Only what the contract says. Make sure it assigns all IP to your company on payment, and keep the code in your own repositories.
Is an NDA enough to protect my IP?
No. An NDA protects confidential information, but you also need IP assignment in the contract and practical control of code and accounts.
Can an offshore development company reuse my code?
Not if the contract assigns IP to you and prohibits reuse. Vendors may reuse their own general tools, which should be listed and licensed to you.
What should I do when an outsourcing contract ends?
Remove access, rotate secrets, collect documentation and credentials, confirm all code is in your repository, and get written confirmation that confidential information has been returned or deleted.
We put your IP in your hands from day one: your repositories, your accounts and IP assignment in our contracts. Read our guide to hiring an offshore development team from the USA, or see how we work with dedicated developers.
Have a question about your own project? Ask us directly. We reply to every message.


