Saving Data on Android



Download 19,28 Mb.
Pdf ko'rish
bet282/292
Sana24.01.2022
Hajmi19,28 Mb.
#407089
1   ...   278   279   280   281   282   283   284   285   ...   292
Bog'liq
Bailey J., Dominguez A., Djermanovic D. - Saving Data on Android (1st Edition) - 2019

Adding security rules
Your 
WhatsUp
 app is still not safe. You'll add security rules next to restrict the 
access to data. Open Firestore database in the Firebase console and click on the 
Rules
 tab. Add the following rule:
service cloud.firestore { 
  match /databases/{database}/documents { 
    match /{document=**} { 
      allow read, write: 
if
 request.auth.uid != null; 
    } 
  } 
}
This rule allows 
read
 and 
write
 access on all documents for any signed in user. The 
allow
 expression specifies when the writing or reading the data is allowed.
When you're done with writing the rules to the editor click 
Publish
:
Usually, it takes a minute for the security rules to make an effect, but sometimes it 
can take up to 10 minutes. Before you start testing make sure you wait a couple of 
minutes.

Download 19,28 Mb.

Do'stlaringiz bilan baham:
1   ...   278   279   280   281   282   283   284   285   ...   292




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish