Add custom claim to id token

I will check my blocks.......I definitely have something wrong in my blocks.....I will send pictures as soon as I'm done working for the day...

I got the blocks mixed up.......the top picture in the guide is for world readable......the bottom pic is for auth.....sorry!!! my bad!!

great! Now I don't get the error message, however I do not get the picture to show......I tried a text box to check on the result I get with 'whenweb1 got file send file name to text box and I get something like : /storage/emulated/0/android/data... etc... What would be the next step after the get procedure?

I have just read this does not work for video......so I have to go all the way back with my project.......I was just thinking about giving access through creating a tag in the Realtime database called...paid/unpaid on each user ..... and from there.....send a connection from the end user to the tag to check if permission should be denied or allowed......what's your opinion?
how safe is this?

  • You can store video files on Firebase Storage
  • You can download video files from Firebase Storage
  • You can stream (with a bit of work) video files from Firebase Storage

Access Method:

  • User pays for access to certain content
  • Filenames/downloadTokens updated in user's list

There is no video for the secure version, it would be exactly the same as the non secure one!

is this only for deleting purposes? I did not understand that part....is this for all the processes or just the deleting process?

I do not understand any of what you have said ? :wink:

in the guide.... under the delete process , you wrote:

'There is no video for the secure version, it would be exactly the same as the non secure one!

but I am not sure if you mean this for all the processes such as download or just the delete file process?

Ah sorry, if you had read the previous page for "no rules", you would have seen a video provided to demonstrate the process. I didn't make a video for secure rules because it would have looked exactly the same.

got ya!!! thanks a lot mate! you are being sooooo helpful!

This could also be another solution since the download process using firebase storage 'downloads the file' to the users phone....which I don't like........ I would rather have all of my content to be online access only......just like google drive........I was thinking about making the app user sign in with google account so he can access google drive through the app and then handle the permissions with the 'google share option' which I find easier to handle.

what's your opinion?

This is not the solution for that, but I will have a think about how it can work.

1 Like

OK, I have weighed up the pros and cons of both methods, and for what i know of what you want to do, Firebase Storage comes out on top over my GD Connector approach.

However you might want to consider this extension as an alternative:

1 Like

thanks a lot!