Configuring database data security rules
Securing our database is a highly essential thing to do while launching or even while testing your application, simply because we don't want any unwanted behavior to come in place or more, we don't want any security breaches to happen. In this recipe, we're going to see how we can properly secure our Firebase database.
Getting ready
Before starting with this recipe, please make sure that your system is fully configured to support the Bolt language.
How to do it...
To keep things real, let's suppose we're working on our awesome next-gen blogging platform within this platform, so basically, I want to make all my posts available to the public. To do so using the Firebase Bolt language, all I have to do is this:
path /articles { read() { true } write() { isLoggedIn() } } type Article { title: ArticleTitle Content : ArticleContent Author : currentUser() } type...