Skip to content

Firebase config troubleshooting #7348

Closed Answered by danny-avila
ArcCal asked this question in Troubleshooting
Discussion options

You must be logged in to vote

Please read our documentation on Firebase:

https://www.librechat.ai/docs/configuration/cdn/firebase

We provide an example rule that balances accessibility with security:

rules_version = '2';
 
service firebase.storage {
  match /b/{bucket}/o {
    match /images/{userId}/{fileName} {
      allow read, write: if true;
    }
  }
}

This rule restricts access to only files within the specified path structure (/images/{userId}/{fileName}). While it uses "if true" to allow read/write access, the security comes from the path specificity - users would need to know the exact userId and fileName to access a file. This is similar to how platforms like Facebook handle resource URLs, where the URL itse…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ArcCal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #7347 on May 13, 2025 12:04.