-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Epic: Restrict access to snapshot URLs #8257
Comments
Happy to give this a go tomorrow /assign |
This could also apply to running workspaces as well as snapshots, see #4841. See also #4841 (comment).
|
Running workspace access is mediated by ws-proxy, who has no notion of the authentication on |
whoa whoa whoa...a workspace snapshot may have sensitive credentials in files ignored by git. The owner of the workspace should reserve the right to limit access to the snapshot URL or revoke the URL at any time, regardless of what repo permissions people have. |
If someone accidentally creates a snapshot URL instead of sharing a running workspace, is that snapshot url public and available at all times? You can kill a shared running workspace, but can you manage access or kill a snapshot? I'm looking at https://www.gitpod.io/docs/sharing-and-collaboration#how-to-take-a-snapshot-url and it only describes how to create the snapshot url. It does not mention about revoking or managing access to the snapshot url. |
Gitpod snapshot URLs, provide a way to share a snapshot of a workspace e.g. for easy reproduction of test environments.
For workspaces of private git repos, these URLs could be used to access sensitive or proprietary files.
The proposed fix is to limit access to the workspaces from snapshot URLs to those users who have read access to the repo.
Since this changes the behavior of existing snapshot URLs, the error should also include the following explanation
NOTE: Breaking change
This change may break some usage scenerios where private repo workspaces are intentionally shared via snapshots e.g. for interviews.
The text was updated successfully, but these errors were encountered: