Re: Can I prevent someone clone my git repository?
- From
- Emily Ren <lingyan.ren@gmail.com>
- Date
- Jan 8, 2009, 09:33 UTC
- 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 <j.sixt@viscovery.net> wrote:
Show 10 quoted lines
> 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 >