是否可以限制Firestore中每分钟/天从用户IP读取/写入的次数? [英] Can I limit number of reads/writes from user IP per minute/day in firestore?
本文介绍了是否可以限制Firestore中每分钟/天从用户IP读取/写入的次数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何限制Firestore中从一个IP进行的读取/写入次数?
How can I limit number of reads/writes from one IP in firestore?
P.S.我的应用程序中没有任何身份验证
P.S. I don't have any authentication in my app
推荐答案
Cloud Firestore无法通过IP地址限制任何类型的访问.相反,您应该考虑实际使用一些身份验证,通过您控制的后端强制请求,然后从那里进行每个用户的审核.
Limiting any sort of access by IP address is not possible with Cloud Firestore. Instead, you should consider actually using some authentication, force requests through a backend you control, and perform per-user auditing from there.
这篇关于是否可以限制Firestore中每分钟/天从用户IP读取/写入的次数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文