service firebase.storage {
match /b/<your-bucket>/o {
match /{imageId} {
/* Allow a read if the file was created less than one hour ago */ allow read: if request.time < resource.createdAt + duration.value(1, 'h');
}
}
}
--
You received this message because you are subscribed to a topic in the Google Groups "Firebase Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebase-talk/aw86jf8b7PY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/6146f18b-2959-45b6-9f7c-7ed3aae44e00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
HI.
Just a question to clarify:
Since it is possible to revoke a downloadURL from the Firebase console, would it be possible to have e new client function that allow a User to revoke himself this URL (of course only if he has write access on this file in the storage security rules) ? Did you plan to deliver such API one day ?