Комментарии:
How to let
User1 have all permition and (admin) see everything
user2 a have almost all (teacher) see only own profile and own students profile
User 3 only some (student) see only own info and grade
Hello how firebase know you was login to chat ?
ОтветитьBro I understood much better in the easiest way this helps me .
keep upload more video and your explanation way is very clear
Thanks again.
it doesn't work even if i make false for write and read , my app can read and write
ОтветитьStrait and to the point. This is what everyone wants to know.
ОтветитьThank you SIR!!!
Finally somebody helped me solve this problem. God bless you!
Thank you very much 🥰☺️
ОтветитьBro please help me. I saw a project made by you. (Named author sanjeev) it is a chat app. You told there, the package name and the firebase account must be changed. I changed it. Read and write was true. But i cant send messages to it. Usernames still not updated. Please kindly help me to solve this problem plz :(
Ответитьbrother, so this is the rule that I made
{
"rules": {
"user": {
"$ user_id": {
".read": "$ user_id === auth.uid || auth.uid == 'zJmj8O14lTRNTiAcF2NhDtA7Z2p1'",
".write": "$ user_id === auth.uid",
}
}
}
}
so I want 'zJmj8O14lTRNTiAcF2NhDtA7Z2p1' to be a user who can read all the data that other users have created, but it doesn't work and still every user reads their own data and a user with auth id zJmj8O14lTRNTiAcF2NhDtA7Z2p1 is only able to read his own data
hello sanjeev, maine auth!=null,diya hai chalega na,
auth.uid!=null nhi diya
Bhai es rules me wahi user login kar sakte h jo pehle se log in hai new user sinup nhi kar sakta LoL 🤣 .. Solution batao.. Sinup ni ho pa raha
Ответить{
"rules": {
".read": "true"
".write": "true"
}
}
Sir I want to write in firebase this type
Monday
Tuesday
Wednesday
Thursday
In this type how can I wirte in this type thanks
Sir, I need a help ....
I want to make my Database more secure that anyone can't be crack it ever..
Like example :
If in user data contains a particular key (Like : User1273) then only the user can read & write my Database..
As example of java :
if (SecureKey.equals("MyUser56mydata")) {
Read & Write : true
}
Please help me...!!
Hi can you make firebase rules with expiration in account or log in expiration
ОтветитьYesss helpful !
Ответитьhi Sanjeev,
we haven't seen your tutorial for a long time, we really miss it...
We've just tried your firebase tutorials..
the question is,
how to make "security rules" to our firebase.....
so that each user can only access "their own" data?
because, every time I change it with rules: {auth id = uid blah3 (as in firebase documentation) I can't access or write my data ...
Like "PROFIL" in this video example, we don't want anyone can change (write) other's profile..
Please help
what if i want to make sure every user that signs up, Has a seperate database.. having their own seperate data
Ответитьkindly past in description
Ответитьsupper !!!!!
ОтветитьThis rule I am always change it is coming false I change so many times but no coming true value
Ответитьsir plz send your What's up no.
Ответитьbro can we add a feature like private message like other messengers
ОтветитьFirst view first like first comment 😀
Ответить