了解保护Firebase代码的安全 [英] Understanding securing Firebase code

查看:33
本文介绍了了解保护Firebase代码的安全的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑尝试Firebase,并花了整整一天时间查看示例项目和文档,但我似乎误会了一些东西,可能是因为我习惯了服务器/客户端架构,其中的有趣"部分该代码将在服务器端:

I'm thinking about trying Firebase and have spent the day looking at example projects and the docs and I seem to be misunderstanding something, probably because I'm used to server/client-side architectures where the "interesting" parts of the code would be server-side:

根据示例,基本上所有代码都将使用客户端JavaScript中的Firebase命令.但这不会让我几乎100%的代码库/逻辑公开吗?

According to the examples basically all the code would be using the Firebase commands in the client-side JavaScript. But wouldn't that expose almost 100% of my codebase/logic to the public?

如果所有代码对客户端可见,如何在Firebase中保护我的代码?

How do I secure my code in Firebase if all of it is visible to the client?

推荐答案

您阅读的

You reading this

Firebase安全性

或尝试观看视频

Or try watch video this

Firebase安全性Google I/O 2016的密钥

和文章

And Article

Firebase安全&规则

快速提示Firebase实时数据库安全性规则

这篇关于了解保护Firebase代码的安全的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆