i want firebase realtime database secure rules with blocks
anyone can please tell
You can use like this…
{
"rules": {
".read": "now < 1733856000000", // 180 days from 2024-06-14
".write": "now < 1733856000000" // 180 days from 2024-06-14
}
}
Please note, I have updated this Firebase rule definition with the timestamp for 180 days from June 14, 2024. You have to update the timestamp before it expires.