Skip to content
Paul Yeager
← Journal

OwnershipHandoverRisk

Who holds the keys when your developer leaves?

A practical guide for business owners: the four layers of ownership behind any custom app (code, cloud, credentials and contracts), and a 30-day plan to get all four under your control.

By Paul E. Yeager · · 9 min read

CODECLOUDKEYSCONTRACT

Sooner or later every custom business app loses its maker. The developer takes a full-time job, the agency is acquired, a freelancer moves country (I know, I did exactly that), or someone simply stops answering email. Nothing dramatic happens on that day. The app keeps running. The trouble arrives months later, when a certificate expires, a payment provider changes its API, or you need a new feature and nobody can find the password to the hosting account.

This guide is for the person who paid for the app, not the person who built it. You do not need to read code to protect yourself. You need to know which four things you must be able to point at, and who currently holds each one.

Ownership is four separate things

When people ask “do I own my app?” they usually picture a single object. In practice an app is four, and they can each be owned by a different party without anyone noticing.

LayerWhat it isTypical failure
CodeThe source files and their full historyLives in the developer's personal GitHub account
CloudHosting, database, domain, DNS, email sendingBilled to, and administered by, the developer's own login
CredentialsAPI keys, app-store accounts, certificates, secretsExist only in the developer's head or password manager
ContractWho legally owns the work and who may reuse itSilent on intellectual property, or ownership transfers only “at the developer's discretion”

A missing layer is not an abstract risk. Code without cloud access is a museum piece. Cloud access without code means you can keep the lights on but never change anything. Credentials without a contract leaves you wondering whether you may legally keep using the thing you are holding.

Layer 1: the code

The test is simple. Can you, today, open the repository, see the full history, and download a copy without asking anyone? The right home for the code is a repository in an account your organisation owns (a GitHub, GitLab or Bitbucket organisation), with the developer invited as a member. Not the other way round.

  • Ask for the repository to be created in, or transferred to, your organisation. Transfers keep the full history.
  • Make sure there are at least two organisation owners, one of whom is not the developer.
  • Check the README explains how to run the app locally. If it does not, the code is much less useful than it looks.
  • Confirm third-party code is used within its licence. A good developer will list the open-source licences involved without being asked.

Layer 2: the cloud

This is where non-technical owners are most exposed, because everything works right up to the day it does not. Make a list of every service the app touches. It is usually shorter than you fear: a domain registrar, DNS, one hosting platform, a database, an email-sending service, a payment provider, and perhaps analytics.

  • The domain name should be registered in your name, with your email as the registrant contact. If the developer registered it, ask for a transfer now; it takes a few days and is cheapest when everyone is still friendly.
  • Every account should be billed to your payment method, so that a lapsed card is your reminder rather than a surprise outage.
  • Give the developer delegated or team access to your accounts, rather than giving yourself access to theirs.
  • Turn on automatic backups, and confirm someone has actually restored one into a test environment at least once.

Layer 3: the credentials

Credentials are the layer people forget, because they are invisible. A modern app runs on a handful of secrets: API keys, signing keys, database passwords, certificates, and developer accounts for the Apple and Google stores. Lose the store accounts and you can no longer update your own mobile app, even though you own every line of its code.

  • Keep secrets in a shared team password manager under your organisation's control, never in email or chat threads.
  • Ask for a list of every secret by name and purpose (not the values in an email, just the inventory) so you know what exists.
  • Rotate keys on handover. A departing developer should not still hold a live production key, however trustworthy they are.
  • Register mobile developer accounts under the company, not an individual, and add a second administrator.

Layer 4: the contract

The legal layer decides everything above it. In many places, work created by an independent contractor belongs to the contractor unless a written agreement assigns it to the client. So the document you signed, or never signed, matters. I am not a lawyer and this is not legal advice, but these are the questions worth asking one.

  • Does the agreement assign ownership of the custom work to you, and when (on payment, or on delivery)?
  • Who owns reusable components, frameworks and tools that the developer brought to the project? A licence to keep using them is often enough.
  • Are there confidentiality and non-compete terms that would stop another developer from taking over?
  • What happens to the arrangement if either side wants to end it? Is there a notice period, and a handover duty?

A 30-day handover plan

You can do all of this while the developer is still around, which is the whole point. Treat it as a routine business hygiene exercise, like an annual insurance review, not an accusation.

  1. Week 1, inventory: list the code repositories, hosting and third-party services, domains, and every mobile or developer account. Write down who currently owns and pays for each.
  2. Week 2, transfer: move the repository, domain and accounts under your organisation. Add a second administrator everywhere.
  3. Week 3, document: have the developer write a one-page runbook covering how to deploy, where the logs are, how to restore a backup, and who to call.
  4. Week 4, rehearse: ask someone independent (a different developer, or a technical friend) to follow the runbook and deploy a trivial change. Every place they get stuck is a hole in your handover.

Signs your app is already at risk

  • The developer is the only person who has ever deployed it.
  • Nobody besides the developer can log in to the hosting account.
  • There is no written record of how the app is built or what it depends on.
  • Dependencies have not been updated in years, and nobody is sure whether that matters. (It does: see the OWASP guidance on vulnerable and outdated components.)
  • The app depends on one person's reputation instead of a process you could hand to someone else.

For the developer reading this

If you build software for clients, the kindest thing you can do is make yourself replaceable. Document as you go, keep secrets in shared vaults, follow the twelve-factor habit of keeping config out of the code, and offer a handover rehearsal as a final milestone. Clients who feel safe leaving tend to stay, and they refer others.

Share this articleLinkedInXEmail

Discussion

Loading comments…