Understanding Firestore Security Rules with Examples

Understanding Firestore Security Rules with Examples

Joshua Morony

5 лет назад

41,966 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Raffaele Masucci
Raffaele Masucci - 20.09.2023 11:39

Thank you!!!!!!!!!

Ответить
Anders Braathen
Anders Braathen - 19.12.2022 02:12

Great video, thanks!

Ответить
#TeamFlash
#TeamFlash - 15.10.2022 06:54

Where can we find the simulator?

Ответить
Ruang Tamu
Ruang Tamu - 25.02.2022 14:38

hi Josh, how to prevent uid not written / store to the document? as we would not want uid stored everywhere

Ответить
Code Mind
Code Mind - 02.02.2022 15:38

I wish you showed your database and created a simple database to show what you are searching. I did not really get what you are doing when you put braces and write collection name in singular form...... PASS..

Ответить
merakli
merakli - 26.11.2021 16:30

thanks for the great lesson.

Ответить
Andrei Taranu
Andrei Taranu - 21.10.2021 15:48

this does not work anymore

Ответить
Brandon Sayring
Brandon Sayring - 27.09.2021 14:26

I really appreciate your explanations. Thank you so much!

Ответить
L R
L R - 26.09.2021 14:27

great stuff!

Ответить
Jay Garzon
Jay Garzon - 26.08.2021 13:15

I am here Aug 2021

Ответить
JakeBruhSHere
JakeBruhSHere - 07.08.2021 20:06

Makes a lot of sense, thanks

Ответить
Zinc
Zinc - 18.06.2021 13:15

This is exactly what I needed right now. I can finally understand how to get started with these functions

Ответить
Omkar Kadam
Omkar Kadam - 15.06.2021 21:15

How to validate duplicate entries?

Ответить
Vijay Pawar
Vijay Pawar - 04.06.2021 22:30

Thank you, ❤️ I am looking for data validation. I don't want duplicate the values in the data base such int value of some id

Ответить
Sachin Kumar
Sachin Kumar - 10.05.2021 17:39

How to restrict read from specific IP address only?

Ответить
Jimmy Opot
Jimmy Opot - 20.04.2021 13:16

Absolutely indebted to you. Saved my firestore database, which was rendered obsolete.

Ответить
Constantinos Loizou
Constantinos Loizou - 15.04.2021 01:56

Simple tutorial but helped a lot. Thank you my friend

Ответить
Donald Rieck
Donald Rieck - 10.04.2021 01:59

nervous mouse; yikes

Ответить
Alex
Alex - 29.03.2021 14:06

thanks

Ответить
Ar Am
Ar Am - 27.03.2021 23:20

What a fantastic video! Like a missing manual! I am about to build a more complex app with some access levels scheme. Wasn't sure about how and where I should split the access responsibilities between the FE app and rules. Now it is more clear to me. Please make more videos about rules, please do!

Ответить
R K
R K - 06.03.2021 09:13

how to incorporate it in the javascript web app? and how to give permissions to custom user id and password

Ответить
Weilies Chok
Weilies Chok - 06.03.2021 06:16

can u show a tutorial showing a "role" validation? e.g. Admin user can perform CRUD to all users, but "Employee" user can only READ their own doc

Ответить
tenuk sdn bhd
tenuk sdn bhd - 28.02.2021 16:10

Can somebody explain how these security rules works? Why does it seem like ANYONE can spoof the payload content and bypass the security rules?

Ответить
tenuk sdn bhd
tenuk sdn bhd - 28.02.2021 16:10

Can somebody explain how these security rules works? Why does it seem like ANYONE can spoof the payload content and bypass the security rules?

Ответить
Sorn Veng Y
Sorn Veng Y - 09.02.2021 10:01

Really good bro for this teaching.

Ответить
Fae Utero
Fae Utero - 16.01.2021 16:16

Thanks a ton man. Really helpful \m/

Ответить
CGuider
CGuider - 17.12.2020 17:05

Excellent.

Ответить
Asmereg
Asmereg - 13.11.2020 11:07

a little closer, a little closer. Oh, you finally reached what I was exactly looking for. Thanks

Ответить
Kenworld Technologies
Kenworld Technologies - 07.10.2020 18:53

The best explanation so far. Thank you man

Ответить
tttttttttttttt
tttttttttttttt - 01.09.2020 20:17

Podata, podata

Ответить
madson g.
madson g. - 06.08.2020 06:44

Hi! Nice video. I have a chat system but I don't use Google authentication. I only use firebase for messages between users. What would be the best rules for me? Allow only my domain?

Ответить
Snehal Mishra
Snehal Mishra - 27.07.2020 13:41

Thank you bro 👍

Ответить
Wil Cas
Wil Cas - 26.06.2020 11:47

Awe-so-me tutorial.

Ответить
WhatIsThisAllAbout
WhatIsThisAllAbout - 01.05.2020 18:28

amazinf bro thanks

Ответить
Bong Suyat
Bong Suyat - 05.04.2020 21:49

Can I write to expire disable a document after x interval since it was created?

Ответить
Mousa Alakesh
Mousa Alakesh - 20.03.2020 17:38

thanks so much. What about making rules to list only user's posts for that user only?

Ответить
Sampelmind81
Sampelmind81 - 10.02.2020 21:44

hello from germany! I implemented an android app using the firebase remote config and iam not using the database to store documents. My app request only a string from remote config to encrypt the local sqlite database on the smartphone. Is it necessary to set security rules even if iam not using the database? Thanks!

Ответить
Belqis Shida
Belqis Shida - 18.01.2020 06:08

Work step by step and show real example

Ответить
Casal0x
Casal0x - 15.01.2020 00:50

Can you help us with some tutorial about role-based rules ?

Ответить
Manoel Ribeiro
Manoel Ribeiro - 26.12.2019 17:34

Thank you, the best tutorial about Firestore rules that I have found. Even if you aren't using Firebase for a Ionic application this video will help you. Thanks again!!

Ответить
Abdiaziz Ahmed
Abdiaziz Ahmed - 25.10.2019 09:50

Do you think a malicious user can bypass the security rules if they set their uid as " " empty in a doc and somehow in their payload the uid was also " " empty.

Ответить
Webwizard - Gaming
Webwizard - Gaming - 17.10.2019 21:59

I love how absolutely no one shows how to validate data from a parent document inside a subcollection... or working with subcollections at all.

Ответить
Yoo Scripts
Yoo Scripts - 25.06.2019 09:48

thanks

Ответить
Jattarin nontakaew
Jattarin nontakaew - 03.06.2019 13:44

good

Ответить
David López
David López - 24.05.2019 11:49

Hey Josh, nice video!! What about firestore security rules with authentication and role-based security? I don't know if there's something already implemented within firestore or if the role-based security logic has to be implemented by us from scratch. Thank you!

Ответить
Alex Scigalszky
Alex Scigalszky - 22.05.2019 03:56

Can you explain how use/make in-app purchases?

Ответить