0

Is it somehow possible to deploy my app using firebase hosting, and there use a an under construction template and a login email and password.

Once user sign's in and the email is known email as admin for example, let them see the entire public directory otherwise if the email is not an admin email set in database for example then just show them a message that we will email them once site is public.

How can I do something like this ?

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
Marketingexpert
  • 1,421
  • 4
  • 21
  • 34
  • It is possible, but this is a long task I think you need to start something. And when you need a short task (something like login page, btw check firebaseui at Github) than ask your question again with snipped code. – Cappittall Dec 23 '17 at 08:07
  • 1
    There is no way to prevent specific users from accessing files on Firebase Hosting. See https://stackoverflow.com/questions/27212004/can-firebase-hosting-restrict-access-to-resources. – Frank van Puffelen Dec 23 '17 at 15:37
  • @FrankvanPuffelen Thank you for your reply! – Marketingexpert Dec 23 '17 at 16:13

0 Answers0