--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/42550ab3-8a9e-4cc0-ba15-0312df07b4fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
https://firebase.google.com/docs/reference/security/database/#authtoken has an example of restricting to a certain domain.
On Mon, Aug 14, 2017 at 5:53 PM, Samer Abraham <ssab...@gmail.com> wrote:
Hello
I saw this earlier thread:
https://groups.google.com/forum/m/#!topic/firebase-talk/E8SvdX79BXM
The jist is allowing authentication using google auth but restricting the set of users to specific emails. Does anyone know if that's been implemented? The thread implies it was in the works.
Thanks
Sam
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
The check on the sign in on the app side is clearly not security. You're just blocking one client app.
I know about these documents but they do not outline my ask. Thanks for the help though.
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/f9cbcc12-fe00-4778-aa29-26a1e2a4ff04%40googlegroups.com.
Checking on client is good, as most errors will be accidents, not malicious. To ensure security you could have a list of uids/emails of allowed users in the database, and have that locked down (maybe only admin read/writeable), then use a rule on your data like:
"data": {".read": "root.child('allowed_users').child(auth.uid).val() == true"}Then have something like /allowed_users/<uid> entries for each user in the group.
On Wed, Aug 23, 2017 at 4:43 AM, Samer Abraham <ssab...@gmail.com> wrote:
The check on the sign in on the app side is clearly not security. You're just blocking one client app.
I know about these documents but they do not outline my ask. Thanks for the help though.
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.