The short answer is yes: by authenticating your users and writing security rules, you can fully restrict read / write access to your Firebase data . In a nutshell, Firebase security is enforced by server-side rules, that you author, and govern read or write access to given paths in your Firebase data tree.
Read moreCan I use Firebase authentication only?
Yes, you can use Firebase for auth only and link it to your own database .
Read more