No video

Firebase Rules Tutorial for your Realtime Database! [PART 1]

  Рет қаралды 100,528

uNicoDev

uNicoDev

Күн бұрын

This video will show you everything you need to know to make a secure Firebase Realtime Database with rules!
- - - - - - - - -
| Watch part two: • Firebase Rules Tutoria...
| My video on doing REST API requests to Firebase Realtime Database in Unity: • How to use Firebase Da...
| Learn how to make custom token claims: firebase.googl...
- - - - - - - - -
| Check out my Machine Learning in Unity playlist: • An introduction to Neu...
| Check out my Firebase playlist: • How to use Firebase Da...
| Join my coding discord: / discord
- - - - - - - - -
Chapters
0:00 Introduction
1:04 Creating the database
1:32 Firebase Rules Introduction
2:21 Testing your rules
4:29 Monitoring your rules
5:12 Making rules for a specific location
6:53 Rules cascade
8:23 Rules are not filters
9:38 Variables
9:56 Variable now
10:16 Variable auth
11:32 Variable query
12:26 Variables data, newData and root
14:13 Variable $wildcard
17:00 Secure rules example
20:09 Conclusion
- - - - - - - - -
#firebase #firebaserules #realtimedatabase

Пікірлер: 84
@daminduliyanage
@daminduliyanage 3 жыл бұрын
You did a clear explanation in one video while firebase guys in their channel are trying to do the same in many many episodes. Well done. Thank You.
@tristangrobler4950
@tristangrobler4950 3 жыл бұрын
Great tutorial, I really needed the "Making rules for a specific location" section. Works like a charm now in my database !!!!!
@dennisgonzales9521
@dennisgonzales9521 4 жыл бұрын
Finally! I was having a hard time figuring out what rules ahould i use for my database! Thanks 😘
@brightli2745
@brightli2745 2 жыл бұрын
Thank you so much. This really helped, espiaclly the wild card explanation. I found some docs on how to use the rules, but without pictures of the database, it was hard to understand. Keep up the good work
@cesarc5930
@cesarc5930 3 жыл бұрын
Hi Nico! It was the best tutorial I´ve found on the Internet. I really apreciate! Thanks for your dedication and keep doing this great job!
@SaptadeepDutta_Ex-Xerox
@SaptadeepDutta_Ex-Xerox 2 жыл бұрын
This is outstanding. Google should hire you or at least refer early Firebase adopters to this video.
@user-pc5xz9oj6c
@user-pc5xz9oj6c Жыл бұрын
yeah its very important topic that few youtubers talk about thanks for share knowldge
@miroslavshard
@miroslavshard 4 жыл бұрын
Thank you for this tutorial!
@ImDino
@ImDino Жыл бұрын
thank you for adding chapters to this video
@5445jedi
@5445jedi Жыл бұрын
I'm reposting my comment because somehow it got deleted. Thanks for these super helpful videos, Nico. Your advice is very helpful and detailed. One thing you may want to consider is turning off the background music because it can be distracting during the lessons. Other than that, these videos are awesome.
@ismaciilibraahim3724
@ismaciilibraahim3724 11 ай бұрын
you clear my negative thougts thankyo bro for given us your knowledge as free thank you so much proh
@uNicoDev
@uNicoDev 11 ай бұрын
It's thanks to comments like this that I am motivated to make more tutorials in my spare time, so thank you for watching! ❤️
@ismaciilibraahim3724
@ismaciilibraahim3724 11 ай бұрын
@@uNicoDev you welcome broh❤️
@mohdanasnadeem1236
@mohdanasnadeem1236 Жыл бұрын
I reallly needed this man!! Thanks!
@haueproduction
@haueproduction Жыл бұрын
Thanks Nico, that was really informative and to the point.
@alenlednik
@alenlednik 4 жыл бұрын
Actually first good video about rules on youtube. thumbs up for part 2
@patrickojeh
@patrickojeh 2 жыл бұрын
Bro, you just saved a life. Thank you!
@anthonyrunstedler
@anthonyrunstedler 10 ай бұрын
It would be very helpful to show the rules, paired with example data to show the nesting and how rules are applied. An example of reading / writing to a database with some lockdown in place would be helpful as well.
@redmanone6963
@redmanone6963 2 жыл бұрын
Fantastic teaching skill! I am from Ukraine, my English level is basic, but i learn all that u say. Thank you wery much, its subscribe
@bgxs6363
@bgxs6363 11 ай бұрын
Thanks bro... it is pretty helpful!
@gradientMesh
@gradientMesh 3 жыл бұрын
Thank you so much for this tutorial. It was a lifesaver. You explain everything so well.
@kananiltorres1968
@kananiltorres1968 Жыл бұрын
Excellent tutorial. Very clear and comprehensive.
@romulonavas5863
@romulonavas5863 2 жыл бұрын
Beautifully explained ! Thanks Nico
@rogercolque
@rogercolque 4 жыл бұрын
finally someone talk about this topic !!
@wbhouse9477
@wbhouse9477 3 жыл бұрын
best tutorial on youtube
@adelaskri6347
@adelaskri6347 3 жыл бұрын
I love it ,very clear, on point beautifully explained ! you have my respect and now my like and subscribe
@boyapatiramakrishna2068
@boyapatiramakrishna2068 3 жыл бұрын
Thank you brother, I am exactly looking for this. Thank you very much. If you explain how to incorporate in the web app with simple javascript, It is so helpful for me.
@saikiranreddykudumula2082
@saikiranreddykudumula2082 4 жыл бұрын
Better tutorial than Firecasts!
@adornenterprise6282
@adornenterprise6282 3 жыл бұрын
Thank you so much... This video is very much helpful to me.
@jamesfoley4426
@jamesfoley4426 2 жыл бұрын
Great video thanks so much for the time and effort for helping us...
@larswolterpuntnl
@larswolterpuntnl 3 жыл бұрын
Very good tutorial! A lot of information and minimal time wasted.
@pemessh
@pemessh 3 жыл бұрын
This is what I was looking for. Thank you.
@mual77
@mual77 4 жыл бұрын
Clear explanation with examples. Thank you.
@erik9817
@erik9817 Жыл бұрын
In the rules playground Location, how do you add a user id to the path? For example, if you want to test users/{userid} where userid is my userid.
@GustavoPMex
@GustavoPMex 2 жыл бұрын
Thank you uNicoDev. This saved me 👍🏼
@abhidadhaniya5701
@abhidadhaniya5701 Жыл бұрын
Thankkkkk yyooouuuuuuuuu sooo muchhhhhhhh fooorrrrr thhiiiissss videeeeoooooooooo
@huynhhuytuan7160
@huynhhuytuan7160 2 жыл бұрын
This video is very good! Thank you very much.
@jiayingchua4650
@jiayingchua4650 3 жыл бұрын
Hi thank you for this tutorial! By any chance do you know how to extend the timestamp for the database as I only have 30 days to use it before it expires
@umair5949
@umair5949 4 жыл бұрын
Thank you, you're doing a great job!!
@YoubitubicalTV
@YoubitubicalTV 4 жыл бұрын
Love the videos love your method or teaching
@mazherbashir
@mazherbashir 3 жыл бұрын
I got confused with the term of the user folder. How we create user folders?
@stephanethill3211
@stephanethill3211 3 жыл бұрын
This is really helping, thanks a lot !
@bonfaceosuka
@bonfaceosuka 2 жыл бұрын
Hey really nice tutorial , however I can no longer login using the rules these rules, neither can I Create a new acount .
@efeeeeee212
@efeeeeee212 3 жыл бұрын
Thank you sir.
@MohamedAdel-um4tt
@MohamedAdel-um4tt 3 жыл бұрын
good job we need a video about how we can use cloud storage with rest api thanks in front
@bacikulile
@bacikulile 3 жыл бұрын
Hello Nico, please create a video showing us how to automatically delete data within our nodes after a set time
@anonymoustrader3769
@anonymoustrader3769 3 жыл бұрын
great video!! Thanks
@sps014
@sps014 4 жыл бұрын
Great tutorial as always...
@circuit4you284
@circuit4you284 3 жыл бұрын
Can you please make video on recent firebase SDK policies. And how to send data from ESP8266 to firebase .... I am unable to do above from SDK updates. Please make a tutorial
@uniqueChi001
@uniqueChi001 3 жыл бұрын
Very good tutorial
@haienglish
@haienglish 3 жыл бұрын
Please make a video about production mode and test mode. Thanks :-)
@matheussoares1138
@matheussoares1138 2 жыл бұрын
Really thanks
@mdAshikuzzamanAkash
@mdAshikuzzamanAkash 3 жыл бұрын
hey, great video! but i want to know is there any specific option to control who can edit the existing data. i mean we use write:true/false to specify who can "write/edit/delete" data. but i want there different options to control who can write new data, who can edit them & finally who can delete them? i want three different rules for these three different formats. is it posssible?
@EugeneVe
@EugeneVe 8 ай бұрын
Not working, i have google auth, and DB linked to a each user, and with this rule i cant post or get data
@sneffetsd
@sneffetsd 4 ай бұрын
Is there an exemple of the last rules with unity with http requests?
@hossamsulleman
@hossamsulleman 4 жыл бұрын
bro thanks for the vid i like the talking and all
@sgouri3519
@sgouri3519 3 жыл бұрын
HEY BRO.. I HAVE A APPLICATION AND IN THAT APPLICATION I PROVIDED LOGIN AND REGISTERATION .. SO WHICH RULES IS TO BE SET IN REAL TIME DATA BASE .. I WANT MY CLIENTS DOWNLOAD APP AND REGISTRED AND LOGIN .. BUT I WANT TO SEE THE REAL TIME DATA BASE MYSELF ONLY NON OTHER .. THEY JUST LOGIN AND REGSITRED AND USE APPLICATION .. BUT I WANTTTO BE MYSELF TO DELET ACCOUNT AND CREATE ACCOUNT FOR USER IN REAL TIME ONLY ME SHOULD BE THE AUTHORIZED TO SEE MY FIREABASE DATA .. ..
@vdhemang9
@vdhemang9 4 жыл бұрын
Hi thanks I am facing too much download data from firebase can I use this mathod to reduce download data from firebase...
@clevercodeverse993
@clevercodeverse993 2 жыл бұрын
how do i update security rules on test mode realtime database ?
@Oteri-ic3xi
@Oteri-ic3xi 2 жыл бұрын
thank you
@amitghosh3938
@amitghosh3938 3 жыл бұрын
How to set firebase rules for a node which is inside an unknown node?
@SAGskills
@SAGskills 3 жыл бұрын
hello bro .. how r u ? i have developed a application where the users can registered and after that can login .. but my real time data base is read and write true.. i want edit rules so that only me can delete update the users id data etc. non of other.. i want user just only login - logout - and registered .. but the data base only i can handle for my users .. i want only allow my self to see data. how to do that??
@hieptranngoc2584
@hieptranngoc2584 4 ай бұрын
thanks
@lazyyoutuber3198
@lazyyoutuber3198 3 жыл бұрын
Thank u so much❤️
@PeterPheneX
@PeterPheneX 4 жыл бұрын
How will login into the database if is secured, basing on your tuto for Firebase Auth with RestClien? Thx
@behnamkiani3736
@behnamkiani3736 3 жыл бұрын
gracias
@federicopeloso1416
@federicopeloso1416 2 жыл бұрын
I open a programming tutorial, I hear an italian accent: Non mi sembra veroooooooooo fasjgnweèognweèonwioe
@SMKH-PRO
@SMKH-PRO 3 жыл бұрын
Helpfull.
@sasispenzer8258
@sasispenzer8258 3 жыл бұрын
Great 😍👍
@masterharith8488
@masterharith8488 Жыл бұрын
Can i use realtime as rule based engines?
@Kyller2ndTV
@Kyller2ndTV 3 жыл бұрын
my realtimedatabase dont want comunicate whit app im crazy pls help!
@billgesora5386
@billgesora5386 3 жыл бұрын
where is the users folder coming from?
@penart.creativ4490
@penart.creativ4490 3 жыл бұрын
hai , how unity upload file storage to firebase?
@shivaskanthan6144
@shivaskanthan6144 4 жыл бұрын
Do you have something similar for Firestore security?
@ketansakulkar3889
@ketansakulkar3889 3 жыл бұрын
any buddy there who will help me in my requirement for the rules management
@deveta7079
@deveta7079 4 жыл бұрын
In the first 5 mins i learned too much. I have to sleep.
@kdnic1292
@kdnic1292 3 жыл бұрын
17.:05
@adnanrruka5152
@adnanrruka5152 3 жыл бұрын
Please without background music.
@rameeshariz7070
@rameeshariz7070 Жыл бұрын
i want go give some user Special permission to write to a folder like (Sp_Adim) if they have a custom UID . to give permission all custom UID saved in a folder in real time data base how can i check this "Newdata.child('S_uid').val === root.child(\"$folder\")" i tried its not working even the folder are inside there Cust_uid/sdsd get denied root.child('Cust_uid').child(\"$custom_id\").exists() === 'sdsd' What am I doing wrong?
@uNicoDev
@uNicoDev Жыл бұрын
Sorry for the late reply. If I understand what you wrote correctly, in the first case you are comparing a value (.val) to a data location (so that might be why it always returns false). In the second case, you are comparing a boolean (from the exists() method) to a string
Firebase Rules Tutorial for your Realtime Database! [PART 2]
13:31
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 38 МЛН
Understanding Firestore Security Rules with Examples
18:33
Joshua Morony
Рет қаралды 42 М.
Security Rules deep dive
12:09
Firebase
Рет қаралды 17 М.
Read, Write, Update, Delete | Firebase Realtime Database v10.3 | Javascript
16:48
Firestore Security Rules - How to Hack a Firebase App
10:05
Fireship
Рет қаралды 130 М.
What Are APIs? - Simply Explained
6:49
Simply Explained
Рет қаралды 878 М.
Introduction to Firebase Security Rules - Firecasts
7:07
Firebase
Рет қаралды 61 М.
Why UK 🇬🇧 is going Bankrupt? : Detailed Economic Case Study
20:37
Think School
Рет қаралды 1,3 МЛН