From: Emily Ren Date: Thu, 08 Jan 2009 09:33:09 GMT Subject: Re: Can I prevent someone clone my git repository? Message-ID: <856bfe0e0901080133q68d0008ao1abf9d235e70279e@mail.gmail.com> In-Reply-To: <4965C07D.705@viscovery.net> Hannes, Could you give me a detailed steps on how to wrap git daemon by tcpd? Junio, I think gitosis can control readonly or writable, it can't control if it's can be cloned. Am I right? Thanks, Emily On Thu, Jan 8, 2009 at 4:59 PM, Johannes Sixt wrote: > Junio C Hamano schrieb: >> The git-daemon transport deliberately omits authentication, and you cannot >> restrict when they come over the git native transport using a URL like >> git://your-host/repository.git > > But you can wrap git daemon by tcpd and configure hosts.allow and > hosts.deny (with all its caveats), if this suits your needs. > > -- Hannes >