Keeping biomedical data private is important, but so is sharing it for research. Game theory can help researchers accomplish both.