I have used Firebase for my React-Native App for about a year now, but since we have expanded to a website, I was wondering if there was a way to restrict read / write rests to when then come from my website specifically.
Any thoughts? I would imagine it would look something like this...
{ "rules": { ".read": if ... requested from my website, ".write": if ... requested from my website, } }
The whole reason I want to do this is to ensure that individuals are not able to access my database unless they are in the app or on our website – and nowhere else.
https://stackoverflow.com/questions/66484513/firebase-realtime-database-restricting-access-rules-to-certain-web-domains March 05, 2021 at 07:22AM
没有评论:
发表评论