Skip to main content

Enabling private mode

In private mode, GitHub Enterprise Server requires every user to sign in to access the installation.

You must enable private mode if お使いの GitHub Enterprise Server インスタンス is publicly accessible over the Internet. In private mode, users cannot anonymously clone repositories over git://. If built-in authentication is also enabled, an administrator must invite new users to create an account on the instance. For more information, see "Configuring built-in authentication."

警告: pull request や Issue へのコメントに画像添付を追加した場合、匿名化した画像 URL は認証なしに誰もが見ることができます。その pull request がプライベート リポジトリにあっても、またはプライベート モードが有効化されている場合でも関係ありません。 イメージへの不正アクセスを防ぐには、お使いの GitHub Enterprise Server インスタンス を含め、イメージを提供するシステムへのネットワーク アクセスを制限してください。

With private mode enabled, you can allow unauthenticated Git operations (and anyone with network access to お使いの GitHub Enterprise Server インスタンス) to read a public repository's code on your instance with anonymous Git read access enabled. For more information, see "Enforcing repository management policies in your enterprise."

  1. GitHub Enterprise Server の管理アカウントから、任意のページの右上隅で をクリックします。

  2. [サイト管理者] ページにまだ表示されていない場合は、左上隅の [サイト管理者] をクリックします。

  3. [ サイト管理者] サイドバーで [Management Console] をクリックします。

  4. [設定] サイドバーで [プライバシー] をクリックします。

  5. Select Private mode.

  6. [設定] サイドバーで [設定の保存] をクリックします。

    注: [Management Console] に設定を保存すると、システム サービスが再起動され、ユーザーに表示されるダウンタイムが発生する可能性があります。

  7. 設定の実行が完了するのを待ってください。