> 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/password-restrictions.md).

# パスワード制限

Overleaf のネイティブログインシステムで認証する場合、ユーザーアカウントに対してパスワード制限を適用できます。

{% hint style="info" %}
これは **しないでください** SSO（LDAP/SAML 2.0）ログインでもパスワード制限を適用できます。これらは ID プロバイダー（IdP）で設定する必要があります。
{% endhint %}

パスワード制限を有効にするには、Toolkits で関連する環境変数を設定してください `config/variables.env` ファイル。

| 名前                                        | 説明                                                                                                                                                                                                                                                                                                                                |   既定 |
| ----------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---: |
| `OVERLEAF_PASSWORD_VALIDATION_MIN_LENGTH` | 次の **最小** 必要な長さです。                                                                                                                                                                                                                                                                                                                |  `8` |
| `OVERLEAF_PASSWORD_VALIDATION_MAX_LENGTH` | 次の **最大** 許容される長さです。                                                                                                                                                                                                                                                                                                              | `72` |
| `OVERLEAF_PASSWORD_VALIDATION_PATTERN`    | <p>パスワードの検証に使用されます <strong>強度</strong>:</p><ul><li><code>abc123</code> – パスワードには 3 文字の英字と 3 桁の数字が必要で、少なくとも 6 文字である必要があります</li><li><code>aA</code> – パスワードには小文字と大文字の英字が必要で、2 文字である必要があります</li><li><code>ab$3</code> – 英字、数字、記号を含み、4 文字である必要があります</li><li>文字には 4 つのグループがあります。英字、大文字の英字、数字、記号です。英字でも数字でもないものはすべて記号と見なされます。</li></ul> |    — |


---

# 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/password-restrictions.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.
