# Should the password be plain text when creating a user through the API?

**URL:** <https://meta.discourse.org/t/should-the-password-be-plain-text-when-creating-a-user-through-the-api/66024>\
**Category:** Development\
**Created:** [2017 年 7 月 11 日午後 11:33 UTC](https://meta.discourse.org/t/should-the-password-be-plain-text-when-creating-a-user-through-the-api/66024 "2017-07-11T23:33:11Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Siddhu\_Dhangar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/siddhu_dhangar/32/123849_2.png) [@Siddhu\_Dhangar](https://meta.discourse.org/u/Siddhu_Dhangar)\
**Post date:** [2020 年 6 月 16 日午後 2:03 UTC](https://meta.discourse.org/t/should-the-password-be-plain-text-when-creating-a-user-through-the-api/66024/4 "2020-06-16T14:03:45Z")

</div>

平文のパスワードではなく、暗号化されたパスワードを渡す方法はありませんか？私たちは認証確認のために /session API を使用しているアプリを開発しています。ここではユーザー名とパスワードの提出が必要です。一つ気づいたのですが、ブラウザのデベロッパーツールを見ると、ログイン時に送信する平文のパスワードが実際に確認できてしまいます。もし誰かが私のノートパソコンにアクセスできれば、パスワードがハッキングされる可能性がありますよね。

---

_[View the full topic](https://meta.discourse.org/t/should-the-password-be-plain-text-when-creating-a-user-through-the-api/66024)._
