From: "Emily Ren" <lingyan.ren@gmail.com>
To: "Johannes Sixt" <j.sixt@viscovery.net>
Cc: "Junio C Hamano" <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: Can I prevent someone clone my git repository?
Date: Thu, 8 Jan 2009 17:33:09 +0800 [thread overview]
Message-ID: <856bfe0e0901080133q68d0008ao1abf9d235e70279e@mail.gmail.com> (raw)
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:
> 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
>
next prev parent reply other threads:[~2009-01-08 9:34 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-08 7:03 Can I prevent someone clone my git repository? Emily Ren
2009-01-08 8:36 ` Junio C Hamano
2009-01-08 8:59 ` Johannes Sixt
2009-01-08 9:33 ` Emily Ren [this message]
2009-01-08 9:41 ` Johannes Sixt
2009-01-08 11:27 ` Johannes Schindelin
2009-01-08 14:32 ` Miklos Vajna
2009-01-08 14:42 ` Johannes Schindelin
2009-01-08 15:29 ` Shawn O. Pearce
2009-01-08 15:49 ` Johannes Schindelin
2009-01-08 15:56 ` Shawn O. Pearce
2009-01-08 16:06 ` Johannes Schindelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=856bfe0e0901080133q68d0008ao1abf9d235e70279e@mail.gmail.com \
--to=lingyan.ren@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=j.sixt@viscovery.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).