Flutter Firebase signInWithEmailAndPassword密码学

编程入门 行业动态 更新时间:2024-10-28 04:23:23
本文介绍了Flutter Firebase signInWithEmailAndPassword密码学的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在使用Flutter + Firebase身份验证通过以下语法使用电子邮件和密码对用户进行身份验证:

I'm using Flutter + firebase auth to authenticate my users with email and password using this syntax:

void signIn({@required String email,@required String pass}) FirebaseAuth.instance.signInWithEmailAndPassword(email: email, password: pass)...

用户名和密码为字符串,纯文本

The username and password are Strings, plain text

我的问题是,我是否需要担心密码安全性?密码字符串是否以加密的方式进入网络?

My question is, do I have to worry about password security? does the password string goes to the network encrypted?

推荐答案

Firebase身份验证客户端与后端服务器之间的所有通信均通过端对端加密的(HTTPS)连接进行.因此,尽管密码在代码中可能以纯文本形式显示,但是任何检查网络流量的人都看不到密码(除非网络已经受到威胁).

All communication between the Firebase Authentication client and the backend servers happens over (HTTPS) connections that are end-to-end encrypted. So while the password may appear as plain text in the code, it cannot be seen by anyone checking the network traffic (unless the network is already compromised).

另请参阅:

  • Firebase是否会自动加密密码?

更多推荐

Flutter Firebase signInWithEmailAndPassword密码学

本文发布于:2023-07-05 14:38:27,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1038432.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:密码学   Flutter   Firebase   signInWithEmailAndPassword

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!