Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 104 for danger (0.06 sec)

  1. docs/ko/docs/tutorial/response-model.md

    ```
    
    이제 브라우저가 비밀번호로 사용자를 만들 때마다 API는 응답으로 동일한 비밀번호를 반환합니다.
    
    이 경우, 사용자가 스스로 비밀번호를 발신했기 때문에 문제가 되지 않을 수 있습니다.
    
    그러나 동일한 모델을 다른 *경로 작동*에서 사용할 경우, 모든 클라이언트에게 사용자의 비밀번호를 발신할 수 있습니다.
    
    /// danger | "위험"
    
    절대로 사용자의 평문 비밀번호를 저장하거나 응답으로 발신하지 마십시오.
    
    ///
    
    ## 출력 모델 추가
    
    대신 평문 비밀번호로 입력 모델을 만들고 해당 비밀번호 없이 출력 모델을 만들 수 있습니다:
    
    ```Python hl_lines="9  11  16"
    {!../../docs_src/response_model/tutorial003.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/extra-models.md

    * The **input model** needs to be able to have a password.
    * The **output model** should not have a password.
    * The **database model** would probably need to have a hashed password.
    
    /// danger
    
    Never store user's plaintext passwords. Always store a "secure hash" that you can then verify.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/extra-models.md

    * **Модель для ввода** должна иметь возможность содержать пароль.
    * **Модель для вывода** не должна содержать пароль.
    * **Модель для базы данных**, возможно, должна содержать хэшированный пароль.
    
    /// danger | "Внимание"
    
    Никогда не храните пароли пользователей в чистом виде. Всегда храните "безопасный хэш", который вы затем сможете проверить.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/extra-models.md

    * O **modelo de entrada** precisa ser capaz de ter uma senha.
    * O **modelo de saída** não deve ter uma senha.
    * O **modelo de banco de dados** provavelmente precisaria ter uma senha criptografada.
    
    /// danger
    
    Nunca armazene senhas em texto simples dos usuários. Sempre armazene uma "hash segura" que você pode verificar depois.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/extra-models.md

    # 更多模型
    
    书接上文,多个关联模型这种情况很常见。
    
    特别是用户模型,因为:
    
    * **输入模型**应该含密码
    * **输出模型**不应含密码
    * **数据库模型**需要加密的密码
    
    /// danger | "危险"
    
    千万不要存储用户的明文密码。始终存储可以进行验证的**安全哈希值**。
    
    如果不了解这方面的知识,请参阅[安全性中的章节](security/simple-oauth2.md#password-hashing){.internal-link target=_blank},了解什么是**密码哈希**。
    
    ///
    
    ## 多个模型
    
    下面的代码展示了不同模型处理密码字段的方式,及使用位置的大致思路:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="7  9  14  20  22  27-28  31-33  38-39"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/extra-models.md

    * Das **Datenbankmodell** sollte wahrscheinlich ein <abbr title='Ein aus scheinbar zufälligen Zeichen bestehender „Fingerabdruck“ eines Textes. Der Inhalt des Textes kann nicht eingesehen werden.'>gehashtes</abbr> Passwort haben.
    
    /// danger | "Gefahr"
    
    Speichern Sie niemals das Klartext-Passwort eines Benutzers. Speichern Sie immer den „sicheren Hash“, den Sie verifizieren können.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. docs/en/mkdocs.yml

          format: !!python/name:pymdownx.superfences.fence_code_format
      pymdownx.tilde:
    
      # pymdownx blocks
      pymdownx.blocks.admonition:
        types:
        - note
        - attention
        - caution
        - danger
        - error
        - tip
        - hint
        - warning
        # Custom types
        - info
        - check
      pymdownx.blocks.details:
      pymdownx.blocks.tab:
        alternate_style: True
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 20:28:02 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/advance.jsp

    								<li class="nav-item" data-toggle="tooltip" data-placement="left" title="<la:message key="labels.eol_error" />">
    									<a class="nav-link active" href="${eolLink}" target="_olh"><em class="fas fa-times-circle text-danger"></a>
    								</li>
    							</c:if>
    							<c:if test="${developmentMode}">
    								<li class="nav-item" data-toggle="tooltip" data-placement="left"
    									title="<la:message key="labels.development_mode_warning" />"
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  9. src/main/webapp/css/admin/bootstrap.min.css.map

    .table-warning:hover {\n  background-color: #ffe8a1;\n}\n\n.table-hover .table-warning:hover > td,\n.table-hover .table-warning:hover > th {\n  background-color: #ffe8a1;\n}\n\n.table-danger,\n.table-danger > th,\n.table-danger > td {\n  background-color: #f5c6cb;\n}\n\n.table-danger th,\n.table-danger td,\n.table-danger thead th,\n.table-danger tbody + tbody {\n  border-color: #ed969e;\n}\n\n.table-hover .table-danger:hover {\n  background-color: #f1b0b7;\n}\n\n.table-hover .table-danger:hover > td,\n.table-hover...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 639.3K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/response-model.md

    ```Python hl_lines="17-18"
    {!../../docs_src/response_model/tutorial002.py!}
    ```
    
    现在,每当浏览器使用一个密码创建用户时,API 都会在响应中返回相同的密码。
    
    在这个案例中,这可能不算是问题,因为用户自己正在发送密码。
    
    但是,如果我们在其他的*路径操作*中使用相同的模型,则可能会将用户的密码发送给每个客户端。
    
    /// danger
    
    永远不要存储用户的明文密码,也不要在响应中发送密码。
    
    ///
    
    ## 添加输出模型
    
    相反,我们可以创建一个有明文密码的输入模型和一个没有明文密码的输出模型:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="9  11  16"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top