Writing

Who owns the code when someone builds your software?

THE SHORT ANSWER

An outside developer owns the code they write for you unless a signed, written assignment transfers it (Copyright Act, 1957). With SamaStack you buy the code later at a one time price, or own it from day one through a custom offer.

Last updated 25 November 2026 · 5 min read · By the SamaStack team

Two ways to own the code: later when the company is ready, or from day one, with the handover list of source code, repository, hosting, domain, credentials and documentation.

"You own the code" is easy to say and easy to say vaguely. Here is what Indian law says by default, the two ways to own what we build for you, and the list you receive when you do, which is the test for whether ownership is real.

Who owns software code in India by default?

In India, a developer or studio you hire owns the code they write for you unless a written agreement, signed by them, assigns it to you; only code your own employees write as part of their job is yours automatically. (Source: Copyright Act, 1957, Section 17)

Indian copyright law treats a computer programme as a literary work, so the same rules apply to code as to a book. Section 19 of the Act adds three details that matter at handover. An assignment is valid only if it is in writing and signed by the person assigning it. If it does not say for how long, it is treated as five years. If it does not say where, it is treated as covering India only. So "you own the code" in an email or on a website is a promise, not ownership. A signed assignment that names the work, the rights, the duration and the territory is ownership. Ask your lawyer to read that clause before you sign anything.

How can you own the code SamaStack builds for you?

There are two ways: start on the monthly plan and buy the code later at a one time price based on what was built, or own it from day one through a custom offer with a build fee and a retainer for running it.

Start monthly, own it later. Most owners do not need their own code on day one and should not pay for it up front. You start on the monthly plan with no setup fee. From ₹9,999 to ₹49,999 a month plus GST for teams of up to 25, set by what you need and your team size. Whenever you want to hold your own code, we give you a one time price based on what we built for you. There is no obligation to buy and no deadline.

Own it from day one. For owners who want their own code and IP from the start, this is a custom offer. We learn how your business works first, then offer a one time build fee and a monthly retainer that covers only running it: hosting, upkeep, changes and Ask your business. No price is published for this path because it depends on what we build. Talk to us about owning it.

Either way, your data is yours from the first day and exports free at any time, and you can cancel the plan with one month's notice.

What should you receive when you own the code?

You should receive eight things: the source code, the repository in your own account, hosting in your name, the domain in your own registrar account, every credential, the app store listings, documentation, and the data model explained.

  1. Source code for what we built for you. Back office, app, website, and the scripts that build and deploy them.
  2. The repository, in your account. The git history moves to an organisation you own.
  3. Hosting in your name. The hosting account, the database and storage move under your billing and your login, or we keep running them for you on the retainer.
  4. Domain in your registrar account. The most common way a business loses its website is a domain registered by a vendor who stops answering. Yours stays yours from the start, whichever path you choose.
  5. Every credential, in a password manager you control. Admin logins, keys, app store accounts. Shared once, rotated by you.
  6. App store listings under your developer accounts. So a future update does not need us.
  7. Documentation another developer can start from. How to run it, how to deploy, where the data lives, what each module does.
  8. The data model, explained. A diagram and a plain description of the tables, because the data is worth more than the code.

What does a software studio usually keep?

A studio usually keeps the reusable building blocks it brings to every client, licensed to you for as long as you use the system, while third party services such as a payment gateway stay with their providers under your own account.

Ours are the pieces that are not specific to your business, and the licence continues after you leave. We say this on the pricing page in one line so nobody feels misled later. An SMS provider or a payment gateway the system talks to is contracted in your name, so it stays with you whatever happens between us.

How do you check who holds your domain, code and accounts today?

Check four things this week: the registrant on your domain, the owner of the code repository, the name on the hosting bill, and the developer account behind your app store listings. Each should be your business, not a person and not a vendor.

  1. Domain. Log in to the registrar account and check the registrant. A public lookup often hides the name for privacy, so the login is the real test. If you have no login, ask whoever registered it for one today.
  2. Code. Ask for read access to the repository. If nobody can give it, you do not hold the code.
  3. Hosting. See whose account pays the hosting bill, and who can log in to it.
  4. App stores. The developer name under your app's listing is the account that controls updates. It should be your business.

What goes wrong at handover?

Handover usually goes wrong in four places: the domain sits in the developer's name, the code arrives without the scripts to deploy it, the passwords live in one person's inbox, and nobody wrote down how the data is organised.

Each is cheap to prevent at the start and expensive to fix at the end. Recovering a domain from a vendor who stopped answering can take months. Code without deploy scripts means a new developer spends their first weeks working out how to put a change live. Passwords in one inbox leave when that person does. And a database without a description is a pile of tables only its author can read. Put the list above in the contract, and ask to see each item before the last payment, not after.

How can you tell if code ownership is real?

Ownership is real if you can hand the repository and the documentation to a developer we have never met and they can deploy a change within a week. We build and document to pass that test, and we would rather you know you can leave than feel you cannot.

Questions people ask

Do I need to own the code to keep my data?

No. Your data is yours from the first day and exports free at any time, whether or not you ever buy the code. Owning the code matters when you want to run or change the system without us.

Does owning the code mean I have to host it myself?

No. The hosting account can move under your own billing and login, or we keep running it for you on a retainer. Owning the code and running the servers are separate choices.

What should the ownership clause in a software contract say?

It should assign the copyright in the work to your business in writing, signed by the developer, and name what it covers: the source code, the documentation and the designs. It should state the duration and the territory, and list any reusable parts that stay with the developer under a licence. Have a lawyer read it before you sign.

What is source code escrow, and do I need it?

Escrow means a third party holds a copy of the code and releases it to you if the developer closes or stops supporting you. For a small business, a repository in your own account that receives every change does the same job more simply. Escrow matters more when you only license the software and never hold the code.

Your numbers

Get your exact price in 48 hours.

From ₹9,999 to ₹49,999 a month plus GST for teams of up to 25, set by what you need and your team size. Tell us what you run, and the exact number comes in writing.

Want to see it first, or your exact monthly price? Book a call back.

Name, email, phone, day and time required.

A person calls you, not a bot. If the time you picked is taken, we email you two others the same day.

We use these details only to reply and send your price. See how we handle your data.