No video

Firebase Security Rules Tutorial: Protecting Your App's Data | Firebase Bootcamp #17

  Рет қаралды 5,962

Swiftful Thinking

Swiftful Thinking

Күн бұрын

Secure your Firebase database with custom security rules by following this comprehensive tutorial. Learn how to restrict access, prevent unauthorized modifications, and protect sensitive data in your app. Watch now to get started!
🤙 WELCOME BACK 🤙
WEBSITE: www.swiftful-t...
DISCORD: / discord
GITHUB: github.com/Swi...
SAY THANKS: www.buymeacoff...
00:00 Firebase Security Rules
03:15 What are Security Rules?
07:20 Writing basic rules
11:50 Basic User Rules
20:05 Advanced User Rules
25:36 Complex User Rules
29:12 Basic Product Rules
33:19 Advanced Product Rules
37:00 Scaling rules
42:47 Bonus rules
44:03 Rules for sub-collections
47:29 Final thoughts

Пікірлер: 15
@linkosm
@linkosm 4 ай бұрын
I'm really enjoying learning Firebase rules on KZbin for the first time. However, it seems like many creators prioritize maximizing their watch time for profit rather than focusing on effective teaching methods. Your 50 minutes video is enough to understand security rule. Thank you 🎉
@tonibuhlmann6594
@tonibuhlmann6594 Жыл бұрын
Finally a tutorial about the security rules. Thank you so much for this. It was very helpful!
@SwiftfulThinking
@SwiftfulThinking Жыл бұрын
You’re welcome 🤙
@michaelgrant2068
@michaelgrant2068 7 ай бұрын
Thanks for all the work you do. I always come back to this Firebase series whenever I need a refresher. All your information is always laid out so well and concise!
@mg_chai
@mg_chai Жыл бұрын
Wow. it is never a boring video from you. New knowledge is always the way to move forward. Thanks a lot!
@andresraigoza2082
@andresraigoza2082 Жыл бұрын
Thank you so much! I finally understood security rules. I tried before writing these rules and I just got frustrated but now I feel like I got them. You are a great teacher, please continue with these great lessons 🙏🏻
@linkosm
@linkosm 4 ай бұрын
Nice video 🎉😊
@TygermatrixSoftware
@TygermatrixSoftware 5 ай бұрын
Thanks for the tutorial! It was very helpful :) Quick question... have you ever run into weird issues with writing rules for a collection where there's a listener attached that uses a whereField("uid", isEqualTo: xxxx) clause? For example, Does NOT work -> match /users/{user} { allow read, write: if request.auth != null && request.auth.uid == user; // where {user} is the uid and document ID } Works -> match /users/{user} { allow read, write: if request.auth != null && request.auth.uid == resource.data.uid; //uid just happens to be on document here }
@Aymen_Raeed
@Aymen_Raeed Жыл бұрын
Thank you so much Nick!!
@harold_davis
@harold_davis 4 ай бұрын
bro you are a god send!
@HadiPrayitnoSPdI
@HadiPrayitnoSPdI 9 ай бұрын
Hi friends, how do you secure realtime database as follows. I have notes product:{ data1: { idMaker: 123abc, .... }, data2: { idMaker: 123abc, .. }, ... } .What I want: all users can set() provided it has child: "name". and only users whose idUser is the same as idMaker can delete. please answer
@MarcoDonati
@MarcoDonati Жыл бұрын
Hi Nick. Great bootcamp! It took me 20 lessons before encountering the first problem 😀 After introducing the exact same security rules as you did, the app is not working anymore. I can't add favorites (the debugger says "Missing or Insufficient permissions"). If I restore the old rules (match /databases/{database}/documents { match /{document=**} { allow read, write: if request.auth != null;}}} then it works perfectly. Tried also to logout, delete users in DB and restart but no success. I triple/quadruple check and the new rules are exactly the same as yours (I didn't test the app at every step as you did, so not sure at what time it started to go wrong). Any hint?
@30guarino
@30guarino 7 ай бұрын
you probably were missing a semicolon ';' at the end the rule line
@salibhaldar6568
@salibhaldar6568 Жыл бұрын
Can you also please make an exclusive playlist about OOP using Swift?
@mehekpalrecha4262
@mehekpalrecha4262 26 күн бұрын
and i oop
Firestore Security Rules - How to Hack a Firebase App
10:05
Fireship
Рет қаралды 130 М.
Pool Bed Prank By My Grandpa 😂 #funny
00:47
SKITS
Рет қаралды 18 МЛН
لااا! هذه البرتقالة مزعجة جدًا #قصير
00:15
One More Arabic
Рет қаралды 51 МЛН
What is Firebase Authentication?
13:22
Firebase
Рет қаралды 25 М.
Understanding Firestore Security Rules with Examples
18:33
Joshua Morony
Рет қаралды 42 М.
Security Rules! 🔑 | Get to know Cloud Firestore #6
22:39
Firebase
Рет қаралды 270 М.
Shrink, Optimize and Secure Your App With R8 & ProGuard - Full Guide
18:08
Firestore Security Rules Setup | Advanced Firebase/Firestore
12:46
Secure your Firebase app from the start
12:30
Firebase
Рет қаралды 14 М.
Intermediate topics in Firebase Security Rules - Firecasts
29:37
Pool Bed Prank By My Grandpa 😂 #funny
00:47
SKITS
Рет қаралды 18 МЛН