Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Firebase Cookbook

You're reading from  Firebase Cookbook

Product type Book
Published in Nov 2017
Publisher Packt
ISBN-13 9781788296335
Pages 288 pages
Edition 1st Edition
Languages
Author (1):
Houssem Yahiaoui Houssem Yahiaoui
Profile icon Houssem Yahiaoui

Table of Contents (15) Chapters

Preface 1. Firebase - Getting Started 2. Firebase Real-Time Database 3. File Management with Firebase Storage 4. Firebase Authentication 5. Securing Application Flow with Firebase Rules 6. Progressive Applications Powered by Firebase 7. Firebase Admin SDK 8. Extend Firebase with Cloud Functions 9. We’re Done, Let’s Deploy 10. Integrating Firebase with NativeScript 11. Integrating Firebase with Android/iOS Natively 12. Hack Application's Growth 13. Adding Analytics and Maximizing Earnings 14. Firebase Cloud FireStore

Configuring database user data security rules

Sometimes or often, we save some user-related data, which means data that has a relationship with a particular user, and in this recipe, we're going to see how we implement just that!

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...

Now, let's see how we can secure the set of articles that belong to a specific user:

      path /articles/{uid}/drafts { 
/create {
create() { isCreator(uid) }
}
...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}