From: milki Date: Sat, 10 May 2014 17:32:26 GMT Subject: Re: optimising a push by fetching objects from nearby repos Message-ID: <20140510173226.GA27483@hal.rescomp.berkeley.edu> In-Reply-To: <20140510172338.GB45511@vauxhall.crustytoothpaste.net> On 17:23 Sat 10 May , brian m. carlson wrote: > I don't believe this is possible. There has been some discussion on > related matters at least fairly recently, though. > > Part of the reason nobody has implemented this is because it exposes > additional security concerns. If I create a commit that references an > object I don't own, but is in someone else's repository, this feature > could allow me to gain access to objects which I shouldn't have access > to unless the authentication and permissions layer is very, very > careful. This would make many very simple HTTPS and SSH setups much > more complex. Alternates don't have this problem because they're done > server-side. If this were implemented service side and specified with, say, a config option, would this security concern go away? -- milki