summaryrefslogtreecommitdiff
path: root/Documentation/gitnamespaces.txt
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-01-10 15:24:24 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-01-10 15:24:24 -0800
commit5f52e70879d70b211de5d6132ed96cecaa8eaf89 (patch)
tree0dedec09294076dafac51df3bcd8d952ec5b1d42 /Documentation/gitnamespaces.txt
parentMerge branch 'jt/fetch-no-redundant-tag-fetch-map' (diff)
parentdoc: mention transfer data leaks in more places (diff)
downloadtgif-5f52e70879d70b211de5d6132ed96cecaa8eaf89.tar.xz
Merge branch 'mm/push-social-engineering-attack-doc'
Doc update on fetching and pushing. * mm/push-social-engineering-attack-doc: doc: mention transfer data leaks in more places
Diffstat (limited to 'Documentation/gitnamespaces.txt')
-rw-r--r--Documentation/gitnamespaces.txt20
1 files changed, 1 insertions, 19 deletions
diff --git a/Documentation/gitnamespaces.txt b/Documentation/gitnamespaces.txt
index 7685e3651a..b614969ad2 100644
--- a/Documentation/gitnamespaces.txt
+++ b/Documentation/gitnamespaces.txt
@@ -61,22 +61,4 @@ For a simple local test, you can use linkgit:git-remote-ext[1]:
git clone ext::'git --namespace=foo %s /tmp/prefixed.git'
----------
-SECURITY
---------
-
-Anyone with access to any namespace within a repository can potentially
-access objects from any other namespace stored in the same repository.
-You can't directly say "give me object ABCD" if you don't have a ref to
-it, but you can do some other sneaky things like:
-
-. Claiming to push ABCD, at which point the server will optimize out the
- need for you to actually send it. Now you have a ref to ABCD and can
- fetch it (claiming not to have it, of course).
-
-. Requesting other refs, claiming that you have ABCD, at which point the
- server may generate deltas against ABCD.
-
-None of this causes a problem if you only host public repositories, or
-if everyone who may read one namespace may also read everything in every
-other namespace (for instance, if everyone in an organization has read
-permission to every repository).
+include::transfer-data-leaks.txt[]