# Firebase Rules Help

**URL:** <https://community.thunkable.com/t/firebase-rules-help/705089>\
**Category:** Questions about Thunkable X\
**Tags:** firebase, beginner\
**Created:** [July 27, 2020, 2:02pm UTC](https://community.thunkable.com/t/firebase-rules-help/705089 "2020-07-27T14:02:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![collingwoodkarate](https://avatars.discourse-cdn.com/v4/letter/c/b2d939/32.png) [@collingwoodkarate](https://community.thunkable.com/u/collingwoodkarate)\
**Post date:** [July 27, 2020, 2:02pm UTC](https://community.thunkable.com/t/firebase-rules-help/705089/1 "2020-07-27T14:02:04Z")

</div>

Hi There, I am new here 🙂 I have tried for days to get firebase rules working for higher security. I would like firebase to only allow read write if the correct user is signed in.  
I’ve slightly modified the fav phrase app tutorial that I followed on youtube (Thank you to the creator - I’m sorry I can’t find the tutorial again to give proper credit). It works if I set the read-write rules to true, but I can’t get thunkable project to work if the following rules are in place: {  
“rules”: {  
“users”: {  
“$uid”: {  
“.read”: “auth != null && auth.uid == $uid”,  
“.write”: “auth != null && auth.uid == $uid”  
}  
}  
}  
}  
Here is a link to the thunkable project: [https://x.thunkable.com/copy/78a87c4a25306801705567167ca558a6](https://x.thunkable.com/copy/78a87c4a25306801705567167ca558a6)

Any help would be greatly greatly appreciated. Ive watched/read so many tutorials, and can’t get it to work. Thank you so much.

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [August 11, 2020, 10:38pm UTC](https://community.thunkable.com/t/firebase-rules-help/705089/2 "2020-08-11T22:38:58Z")

</div>

A post was merged into an existing topic: [Can you help me with Firebase?](https://community.thunkable.com/t/can-you-help-me-with-firebase/42526)

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [August 11, 2020, 10:38pm UTC](https://community.thunkable.com/t/firebase-rules-help/705089/3 "2020-08-11T22:38:58Z")

</div>


