Introduction to Firebase Security Rules - Firecasts

  Рет қаралды 62,842

Firebase

Firebase

Күн бұрын

Пікірлер: 33
@raymondmichael4987
@raymondmichael4987 5 жыл бұрын
Very informative, clear and to the point. Thanks guys Greetings from Tanzania 🇹🇿
@yoapps137
@yoapps137 5 жыл бұрын
I'm so glad you're going to be doing a series on this. After all the tough times I have had over the years with Firebase security. I could request you to make 1 thing easier by way of example. I see loads of developers getting stuck at using the simulator to simulate a token with Custom Claims. I mean an example of the JSON that needs to be put in that simulators textbox, that acts as the token carrying the Custom Claims. And i have 1 question: How do we understand the charges for Rules ?.. I mean we have an idea about Database Read/Writes, but Rules? Is it cheaper than using a CloudFunction to Validate or restrict data?
@vivekbaranwal
@vivekbaranwal 5 жыл бұрын
please start the series asap and thanks alot really helpful 🙂
@belqisshida5345
@belqisshida5345 4 жыл бұрын
Is Cloud Firestore a good selection for a bank account? Can it be safe and reliable to save people's money which is a number to the Cloud Firestore? My concern is reliability and security. Any suggestions?
@BaRzOmk
@BaRzOmk 5 жыл бұрын
A nice video as always @CodingDoug we missed you dude... Please could you make us, real world app with vue js
@anudeepananth
@anudeepananth 4 жыл бұрын
Been a year and we still can't write security rules for cloud storage based on the data in Firestore
@TroenderTass
@TroenderTass 3 жыл бұрын
its firebase, what do you expect. it is garbage. why is this a thing
@darkarchon78
@darkarchon78 4 жыл бұрын
Okay, so why basic security rule examples Google provided don't meet the criteria? I set my database to be readable by anyone, but allow everything else by only authorized users. Yet, I keep getting those warning letters.
@diliupg
@diliupg 4 жыл бұрын
Thanks. Very well presented.
@khalidsafir
@khalidsafir Жыл бұрын
I just wanted to check if you could only allow access to firestore from my app domain using security rules, you say rules do not control that. Thanks. Shame though.
@shuvrodas6576
@shuvrodas6576 3 жыл бұрын
What if my rules are published publicly? Will my app become unsafe? Help please .
@sgouri3519
@sgouri3519 3 жыл бұрын
i have a application for mobile where the client can registered and login ... i want firebase data only readable and writeable for me non others .. so that i can handle all clients in database .. because i m the owner of my app.. what rules i should set please send me the example ..
@mataal8770
@mataal8770 4 жыл бұрын
Hi brother can u help me pls. I have this security rules for an ecommerce site but why is it that the products are not showing unless I do allow access top the shallowest match path. This line below, knowing if I allow read access to this line then everyone can read all my documents even those I want to set private. match /{document=**} { allow read if false; // I have to set this to true before all products for selling by all users are displayed then I cannot do selective securty if I do set it to true since everything is allowed to be read rules_version = '2'; service cloud.firestore { match /databases/{database}/documents { match /{document=**} { allow read,create,update,delete: if false; match /users/{uid}{ allow read; allow update:if request.auth.uid == uid; match /users/{uid}/products { allow read; allow create: if request.auth.uid != null; match /users/{uid}/products/{product}{ allow read; allow create: if request.auth.uid != null; allow delete,update: if request.auth.uid == uid; } } } } } }
@ongcz
@ongcz 5 жыл бұрын
Do you have an example thatdeally works?
@AngurMia
@AngurMia 5 жыл бұрын
sir, if apk reveres engeenirng is it possible to get google-serice.json file ?
@dougstevenson3769
@dougstevenson3769 5 жыл бұрын
Some of the data from google-services.json is compiled into the app as string resources that get read by the Firebase SDK. It's all essentially public information. As long as you're using Firebase Authentication and security rules properly, there shouldn't be any issues.
@AngurMia
@AngurMia 5 жыл бұрын
@@dougstevenson3769 i am warrid to some one can be change my firebase data if it possible , like - haker devlop new app and make my data change. thanks
@rara737
@rara737 5 жыл бұрын
love this
@CheoWalker
@CheoWalker 5 жыл бұрын
Can we get a video on the emulator?
@dougstevenson3769
@dougstevenson3769 5 жыл бұрын
The local emulator is still in beta, meaning it's likely to change in ways that might break in the future. So, we're going hold off on video content until things settle down, so we don't spin up a bunch of effort on a video that becomes obsolete too soon. (It's time-consuming and expensive to make these things!)
@Sanjay_Gangwar
@Sanjay_Gangwar 4 жыл бұрын
Thanks really nice for everyone ...
@wilsondouglas1546
@wilsondouglas1546 5 жыл бұрын
waiting to get into this
@waseyhasankhan8167
@waseyhasankhan8167 3 жыл бұрын
very informative..
@kirill4531
@kirill4531 5 жыл бұрын
Great! Could you please aleborate more on how to use anonymous UID? How does the user's UID should look like when he has just started and is in anonymous state? Which ID to use to upload his data to the Real-time DB?
@dougstevenson3769
@dougstevenson3769 5 жыл бұрын
There will be future videos about using the UID, so stay tuned for that. There is just the one UID per Firebase Auth account. It doesn't change if you later allow the user to link another auth provider account to their Firebase Auth account.
@kirill4531
@kirill4531 5 жыл бұрын
@@dougstevenson3769 looking forward for the new videos, thank you
@davidconnelly
@davidconnelly 3 жыл бұрын
Look at the view count then look at the number of people leaving comments. What does that tell you?
@cryptonative
@cryptonative 5 жыл бұрын
Pro tip: There are cases where the Firestore simulator fails but the client SDKs work.
@dougstevenson3769
@dougstevenson3769 5 жыл бұрын
The team is pretty responsive about fixing those differences. If you report it to Firebase support, they will escalate to engineering if they're able to reproduce it. support.google.com/firebase/contact/support
@Flutterdev6391
@Flutterdev6391 4 жыл бұрын
Thanks sir
@ankit21309
@ankit21309 Жыл бұрын
Everything is good about firebase except these rules, hate them.
@anahoua4837
@anahoua4837 5 жыл бұрын
First
Matching documents in Cloud Firestore (Part 1) - Firecasts
7:46
Firestore Security Rules - How to Hack a Firebase App
10:05
Fireship
Рет қаралды 133 М.
Жездуха 41-серия
36:26
Million Show
Рет қаралды 5 МЛН
SLIDE #shortssprintbrasil
0:31
Natan por Aí
Рет қаралды 49 МЛН
The ONLY Bug Bounty Tools You’ll Ever Need (No Fluff!)
5:34
CyberFlow
Рет қаралды 1,5 М.
Firebase Firestore | Security Rules
23:14
Mafia Codes
Рет қаралды 17 М.
Firestore Security Rules Setup | Advanced Firebase/Firestore
12:46
Sam Fromaway
Рет қаралды 10 М.
Understanding Firestore Security Rules with Examples
18:33
Joshua Morony
Рет қаралды 42 М.
Unit testing security rules with the Firebase Emulator Suite
31:24
MongoDB vs. Firebase PRICING: What's better for your app or startup?
14:50
Code First with Hala
Рет қаралды 29 М.
Firestore Data Modeling - Five Cool Techniques
11:44
Fireship
Рет қаралды 261 М.
Kubernetes Crash Course for Absolute Beginners [NEW]
1:12:04
TechWorld with Nana
Рет қаралды 3 МЛН
Жездуха 41-серия
36:26
Million Show
Рет қаралды 5 МЛН