Giter VIP home page Giter VIP logo

Comments (4)

demchenkoalex avatar demchenkoalex commented on August 18, 2024

Hey @sischnei docs have comments on each line that describe precisely why they are written a specific way. To write additional rules, refer the Firebase documentation, it is not part of the chat, but Firebase itself. https://firebase.google.com/docs/rules

from flutter_firebase_chat_core.

sischnei avatar sischnei commented on August 18, 2024

I was not referring to the firebase firestore rules (database) but regarding firebase storage where e.g. photos are uploaded to. As the project offers tight integration with firebase, I think it would be nice to have a suggestion, how secure attachment storage can be implemented.

As an example, I find it difficult to see how you can allow uploading files (without allowing overwriting existing files) while at the same time preventing unauthorized access to attachments, thus only allowing users of a room to view the uploaded attachments. Maybe, it's easily done using the existing functions provided in the documentation, but then why not add a section regarding firebase storage security rules to the otherwise really helpful project documentation. :-)

from flutter_firebase_chat_core.

demchenkoalex avatar demchenkoalex commented on August 18, 2024

Hey @sischnei as far as I recall there are 0 lines of code regarding firebase storage in the lib itself. Example folder serves 1 purpose - to give an example. This is not a production ready/secure/scalable project, just an example. So you can also say that I have no integration with firebase storage at all. I could use AWS storage or something as well. If something is missing in regard of library code that need to be added, I'd happily add it, but what you're asking is unfortunately outside of the scope of this particular lib.

from flutter_firebase_chat_core.

sischnei avatar sischnei commented on August 18, 2024

Ok - from that perspective I undestand. Thanks anyways!

from flutter_firebase_chat_core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.