---
title: "Working on Sensitive Data Projects"
source: The Turing Way
source_url: https://github.com/the-turing-way/the-turing-way
licence: CC-BY-4.0
domain: data-and-analysis
subdomain: turing-way
date_added: 2026-04-25
---

(pd-sdpw)=
# Working on Sensitive Data Projects

(pd-sdpw-prerequisites)=
## Prerequisites

| Prerequisite | Importance | Skill Level | Notes |
| -------------|----------|------|----|
| [](#rr-rdm) | Helpful | Beginner |  |

(pd-sdpw-summary)=
## Summary

In this chapter, we describe how you can work with sensitive data in a practical way.
We cover working on projects that use [trusted research environments (TREs)](#pd-sdpw-trew) such as data safe havens, including writing code and version control in TREs. 

There are also sub-chapters that describe steps that are good to think about at the start of your project, such as how to [ensure that your sensitive files remain secure](#pd-sdpw-sensitive-files) when using GitHub.
We also show how you can [safely share your code](#pd-sdpw-sensitive-code), even though it uses sensitive data.

(pd-sdpw-motivation)=
## Motivation

Working in sensitive data projects can be challenging and it often requires the development of a bespoke way of working for each project.  

Researchers need to consider how they are going to work collaboratively using Trusted Research Environments and how they can enable reproducible research and publish as openly as possible. 
We must also consider how to keep our data secure and prevent unintentional sharing of data.
