> For the complete documentation index, see [llms.txt](https://ayakaleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ayakaleaf-pro.ayaka.space/on-premises/ja/she-ding/overleaf-toolkit/public-access.md).

# 公開アクセス

Overleaf インスタンスへのアクセスは、次の 2 つの方法で提供できます:

* プロジェクトのリンクをゲストと共有する
* ユーザーによる自己登録を許可する（でのみ利用可能） [ayaka-notes/overleaf-pro](https://github.com/ayaka-notes/overleaf-pro))

### ゲストアクセス

{% hint style="info" %}
既定では、ユーザーがプロジェクト共有リンクを取得しても、 **ログインする** 必要があります。共同プロジェクト編集セッションに参加する前に。
{% endhint %}

リンク共有されたプロジェクトで匿名アクセスを許可するには、以下の両方の変数を設定してください:

{% code title="config/variables.env" %}

```dotenv
OVERLEAF_ALLOW_ANONYMOUS_READ_AND_WRITE_SHARING=true
OVERLEAF_ALLOW_PUBLIC_ACCESS=true
```

{% endcode %}

`OVERLEAF_ALLOW_ANONYMOUS_READ_AND_WRITE_SHARING` リンク共有されたプロジェクトでの匿名の読み取り/書き込みを有効にします。

`OVERLEAF_ALLOW_PUBLIC_ACCESS` 未認証ユーザーがログインページにリダイレクトされるのを防ぎます。

コンテナを再作成して `bin/up`。その後、プライベートウィンドウでリンク共有 URL を開いてください。

### 公開登録

公開登録はでのみ利用できます [ayaka-notes/overleaf-pro](https://github.com/ayaka-notes/overleaf-pro).

{% hint style="danger" %}
公開登録を有効にすると、 **誰でも** あなたの Overleaf インスタンスにアクセスできる人はユーザーとして登録できます。

登録プロセスではメールアドレスを確認しないため、イントラネットまたは信頼できる環境でのみ使用し、不要になったら無効にしてください。
{% endhint %}

既定では、Community Edition も Overleaf Pro も公開登録を許可しません。

これを有効にするには、以下を追加してください `config/variables.env`:

{% code title="config/variables.env" %}

```dotenv
OVERLEAF_ALLOW_PUBLIC_REGISTRATION=true
```

{% endcode %}

コンテナを再作成して `bin/up`.

次に **サインアップ** をクリックするか、 `/register`.

<figure><img src="/files/32fb0a42808ef07fc0a9cd065071916d5ccba84b" alt=""><figcaption></figcaption></figure>

### 制限付きドメインでの登録

ドメイン制限付きの公開登録はでのみ利用できます [ayaka-notes/overleaf-pro](https://github.com/ayaka-notes/overleaf-pro).

これを有効にする前に、ユーザーが招待や通知を受け取れるようにメール配信を設定してください。参照先: [メール配信](/on-premises/ja/she-ding/overleaf-toolkit/email-delivery.md).

次の行を以下に追加してください `config/variables.env`:

{% code title="config/variables.env" overflow="wrap" %}

```dotenv
OVERLEAF_ALLOW_PUBLIC_REGISTRATION=@example.domain
```

{% endcode %}

`OVERLEAF_ALLOW_PUBLIC_REGISTRATION` は次のように設定できます:

* `true` サイトにアクセスできる誰でも登録できるようにする
* `@example.domain` そのドメインのメールアドレスに登録を制限する


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ayakaleaf-pro.ayaka.space/on-premises/ja/she-ding/overleaf-toolkit/public-access.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
