Setting limits on file uploads via Firebase auth and storage without server in the middle?

后端 未结 3 1111
温柔的废话
温柔的废话 2020-12-10 17:52

I\'m learning about Firebase auth and storage in a web app. My idea asks users to login via Firebase and then upload an image.

I can see that this is possible from

3条回答
  •  攒了一身酷
    2020-12-10 18:15

    If you need a per user storage validation the solution is a little bit more tricky, but can be done.

    Ps.: You will need to generate a Firebase token with Cloud Functions, but the server won't be in the middle for the upload...

    https://medium.com/@felipepastoree/per-user-storage-limit-validation-with-firebase-19ab3341492d

提交回复
热议问题