Comments (4)
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.
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.
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.
Ok - from that perspective I undestand. Thanks anyways!
from flutter_firebase_chat_core.
Related Issues (20)
- How can I test the example by making several users? HOT 1
- Block or Unblock a user HOT 1
- Show all room from a specific user id
- testing on a firebase emulator?
- Limit first initial messages then append new messages
- Process for creating group room and allowing others to join unclear. HOT 2
- Add a firebase extension for the rules and cloud functions
- Add option to mixin the chat user to an existing user class HOT 1
- Start new chat messages at the top of the screen? HOT 2
- Set custom location for Firebase Storage so We can setup our own security rules. HOT 2
- How to send SystemMessage? HOT 2
- How to create room for a specific user without using ```FirebaseChatCore.instance.users()``` and ```StreamBuilder()``` HOT 6
- createGroupRoom with specific metadata HOT 1
- [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Null check operator used on a null value. HOT 5
- Rooms list. How is it supposed to look?
- any documentation on how to create the structure the firebase database ? HOT 3
- Where to define App Name HOT 1
- New Message Badge / Notifiication New Unread Message HOT 1
- Debug banner is hiding "+" icon
- Last Message Remove Important Property HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_firebase_chat_core.