Skip to main content
Legia

Apps & Software

What is Source Code?

Also called codebase.

Short definition

Source code is the program text written by developers that forms the basis of an application or website; whoever holds it determines who can fix, extend, and move that application.

Why ownership matters

Without the source code, a company only holds the finished application. Fixing vulnerabilities, adding features, or moving to another vendor becomes difficult, or even impossible. In Indonesia, computer programs are works protected by the Copyright Law (Law No. 28 of 2014), so the rights to them need to be spelled out in the contract; they cannot be assumed to transfer automatically just because the company has paid.

What should be handed over

The complete source code in a repository owned by the company, not just a compressed file sent once. Documentation on how to install and run the application. Access to the servers, databases, domains, and third-party services in use. A list of third-party libraries and their licenses, because some open source licenses carry specific conditions.

Example in a company

A company wants to add a feature to an internal application built by a vendor five years ago. The vendor has since closed and the code was never handed over. The only option left is to rebuild from scratch. A source code handover clause in the original contract would have prevented this.

Related Legia service Web Application Development Service portals, document archives, and CMS dashboards with role-based login, built in stages with source code that belongs to you.