I'm using Firebase Storage to store educational videos which can be accessible only to paid subscribers of a particular video (via a web app).
By default, I don't allow read and write permissions to any of the videos (even if the user has been authenticated using Firebase authentication) but want to allow the read permission to a video if it has been purchased by the authenticated user.
Can it be done ? If not, is there any alternate way of achieving the same ?