# Occlude vs GitHub Codespaces, Coder and Citrix

> Codespaces, Coder and Citrix keep code off a contractor's laptop, but inside the workspace every file is readable. What each does well, and what Occlude adds.

Source: https://occlude.dev/blog/occlude-vs-codespaces-coder-citrix/ · 24 November 2026, updated 28 November 2026 · By Aman Sharma


GitHub Codespaces, Coder and Citrix all solve the same problem well: the contractor works on a machine you control, so your source code never lands on their laptop. None of them narrows what the contractor can read once they are inside. Occlude does that one extra thing: inside the workspace, the person sees the files their task needs, and the build still uses the whole repository.

![Four workspace cards: Codespaces, Coder, Citrix SecurSpaces and Occlude. All four keep code off the laptop. Inside the first three a developer reads every folder; inside Occlude two folders are solid bars and the developer reads the task's files](https://occlude.dev/figures/cde-room.webp)

*All four keep the code off the laptop. Inside the workspace, three show the whole repository and Occlude shows the task's files.*

If keeping copies off laptops is all you need, buy one of the three. They are mature and available today.

## What the three have in common

Each gives a developer a workspace that runs somewhere other than their own machine, reached from a browser or an editor. The repository is cloned into the workspace, not onto the laptop. That is a real control, and it is the one security teams already have a budget for.

Inside the workspace, the developer has the repository. All of it.

| | Occlude | Codespaces | Coder | Citrix SecurSpaces |
|---|---|---|---|---|
| Code stays off the laptop | Yes | Yes | Yes | Yes |
| Runs in your own cloud | Yes | No, GitHub hosts it | Yes | Yes |
| What a developer can read inside | The files their task needs | The repository | The repository | The repository |
| Build with part of the code out of view | Yes | Not described | Not described | Not described |
| Audit log of activity | Yes | Yes | Yes | Yes |
| Record of each file a person opened | Yes | Not described | Not described | Not described |

"Not described" means we found no such feature in the vendor documentation listed under Sources on 28 November 2026. It does not mean the vendor cannot add one. Check their pages before you rely on this table.

## GitHub Codespaces

The easiest to start with if your code is already on GitHub: a workspace per developer, on GitHub's machines, a click away from the repository.

Access inside a codespace is the access the developer has to the repository. GitHub's security page says of the token each codespace receives:

> "The token will be scoped for read/write access to the repository."

For a developer with read-only access, the same page says the token "will only allow the code to be cloned". Either way the unit is the repository. Workspace activity is recorded: GitHub's audit log for Codespaces includes "who performed the action, what the action was, and when the action was performed."

## Coder

Coder runs workspaces on your own infrastructure. Its page for secure development environments states the promise plainly:

> "Source code, credentials, and tooling stay inside your perimeter, never on endpoint laptops."

It adds that workspaces "run on your cloud, on-prem, or air-gapped infrastructure, accessible from any IDE." Coder's strength is control over the environment: templates, network policy, the editor of your choice. Its page adds that "Audit events export to your SIEM." We found nothing on that page about limiting which files a developer can read inside a workspace.

## Citrix

Citrix's product for developers, SecurSpaces, is not a remote desktop. Its documentation describes container workspaces: "Development environments are containerized and Linux based, and nothing is installed on the developer's device." Repository credentials are supplied to the workspace at run time, so the developer's own machine never needs Git access to your source.

This is a strong answer to copies and to credentials, and its documentation includes an audit event catalog. The unit of access is still the repository that was imported into the project.

## What Occlude adds

Occlude is also a workspace in your cloud, and the code stays there. The difference is inside it.

- **The person sees part of the repository.** A contractor on a dashboard ticket sees the dashboard code. The billing code is not in their tree, their search or their terminal.
- **The build sees all of it.** The compiler, the tests and the dev server run against the whole repository, so the contractor's work builds and runs without stand-ins.
- **There is a record.** Every file opened and every attempt on a file out of scope is written down for your security team.

We call the first two together code masking. It is the same thing as partial repository access with a working build.

## Where the three are better

- **Maturity.** Each is an established product. Occlude is new.
- **Getting started.** You can open a codespace in a minute. Occlude starts with a call.
- **Breadth.** They are general development environments for a whole engineering team. Occlude is built for the people who should not see everything: contractors, agencies and AI agents.
- **Editors and extensions.** Their support for editors and extensions is wider than ours.

## How to choose

- **Your concern is copies of the code leaving.** Any of the three. Pick by where your code is hosted and where the workspace must run.
- **Your concern is who can read which part of the code.** None of the three addresses it. This is what Occlude is for.
- **Both.** Occlude covers both for the outsiders it is used for. Many teams will keep their existing workspaces for employees and use Occlude for contractors and agents.

## Sources

Each quotation was read on its source page on 28 November 2026.

- [Security in GitHub Codespaces](https://docs.github.com/en/codespaces/reference/security-in-github-codespaces) and [Reviewing your organization's audit logs for GitHub Codespaces](https://docs.github.com/en/codespaces/managing-codespaces-for-your-organization/reviewing-your-organizations-audit-logs-for-github-codespaces)
- [GitHub Codespaces product page](https://github.com/features/codespaces), for "Codespaces cannot be self-hosted"
- [Secure development environments, Coder](https://coder.com/use-cases/secure-development-environments)
- [How it works, Citrix SecurSpaces documentation](https://docs.citrix.com/en-us/securspaces/how-it-works) and [Code repositories](https://docs.citrix.com/en-us/securspaces/manage/resources/code-repositories)
- Our pages: [How it works](https://occlude.dev/how-it-works/), [What is code masking?](https://occlude.dev/blog/what-is-code-masking/)
