2

I am trying to figure out a way to make my realtime database & storage to only be accessed by specific domain.

For example if my web is hosted on domain with the name www.xyz.com then the data can only be accessed from that specific website and not anywhere else. Can anyone help me with the rule for that?

P.S I am not looking forward to restricting it to specific kind of email i need to restrict it to the domain name.

Thank you.

Usama Moin
  • 213
  • 2
  • 12
  • Have you read the answers in the duplicate question? did you try setting up similar rules for your own situation? it does seem like a duplicate question. – vsync Jun 20 '17 at 17:52
  • @vsync in my case that wont work since I am using anonymous Login. – Usama Moin Jun 20 '17 at 19:21
  • and only now you are mentioning this critical information regarding your question? `anonymous login`..? you should have said so in the title. – vsync Jun 20 '17 at 19:44
  • you can and should ask Firebase directly on their forums or whatever – vsync Jun 20 '17 at 19:46

0 Answers0