Movatterモバイル変換


[0]ホーム

URL:


Sorry, we no longer support your browser
Please upgrade toMicrosoft Edge,Google Chrome, orFirefox. Learn more about ourbrowser support.
Skip to main content
Stack Overflow
  1. About
  2. For Teams
Loading…
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives
5,622 questions
Filter by
Sorted by
Tagged with
0votes
1answer
27views

Rules for checking document key existence in Firestore

So I have a document for an event. Here's the current structure:{ "name": "Some Event Name", "users" : { "a": { "name": "Some Name&...
0votes
1answer
37views

Firestore security rules: allow read only if custom claim pst is "true" or not present

I’m building a web app where users sign in with a Firebase Authentication custom token. The token has claims like this:{ "iss": "------", "sub": "------", ...
0votes
0answers
68views

How to fix firebase firestore permission/rules error?

I am building a Flutter mobile app using Firebase backend. I have four collections: institutions, resources, resourceTypes, users.I want the institution's collection to be accessible by any user (...
1vote
1answer
122views

Firestore Security Rules resource.data is not returning correctly

I have a collection named "dms" that has "firstUserId" and "secondUserId" as fields in its documents. The following rule is giving me permission denied error:match /dms/{...
0votes
1answer
36views

Firestore security: Incorrect number of arguments supplied to function: diff

I'm trying to use the diff() method in my Firestore rules to ensure the user only edits the allowed fields, however when I try to compile my rules and upload them, I receive the following error in my ...
1vote
1answer
41views

Security rules warning

I have updated my security rules and they look like this:{ "rules": { ".read": false, ".write": false, "development": { "events":...
-2votes
1answer
120views

How to deny all writes to Realtime Database based on data within it? [closed]

In the Realtime Database, if we want to block all writes to an entire Realtime Database database based on some boolean contained therein, what is the proper way to do it?Let's say in Realtime ...
0votes
1answer
60views

How to check if attribute matches in an array of maps

Previously, I had the following rule: allow read: if request.auth.token.email in resource.data.shareWith;Now, that the data structure changed and shareWith is no longer an array of email addresses, ...
0votes
0answers
50views

How to securely implement rate limiting for authenticated users in Firebase Firestore? [duplicate]

Problem ContextI'm building a Firebase iOS app application where authenticated users can access their own documents. Each user has a dedicated document in Firestore with security rules like:match /...
1vote
1answer
93views

Firestore Security Rules: Getting all docs with field-specific "where"-query

Goal/intentionThe rule should grant access to a user document (which contains some personal information like email address) and also its subcollections for movie and tv watchlists, in case the user ...
1vote
1answer
36views

Getting read access for subcollections of specific document in case a field matches in the main document only

I have the following rules in Cloud Firestore:match /users/{userId}/{documents=**} { allow read: if request.auth.token.email in resource.data.shareWith; // allow read: if resource.data.test == ...
0votes
3answers
78views

Nested Firestore Security Rule For Write Access Not Working

These are all the rules I'm currently using:rules_version = '2';service cloud.firestore { match /databases/{database}/documents { match /{document=**} { allow read: if request.auth != null; ...
1vote
1answer
38views

Firebstore rules - Check SubCollection exist

I have a collection of musics. They can contain a subcollection of notes.I would like to prevent deletion if any notes existsI triedmatch /databases/{database}/documents { match /musics/{musicId} {...
-1votes
1answer
52views

How to secure firebase realtime database rules? [closed]

I have a simple program to show real-time postview counts. But in Firebase, it saysYour security rules are defined as public, so anyone can steal, modify, or delete data in your databaseEvery ...
0votes
1answer
23views

Different Firebase Rules for different mobile apps

I am new to firebase and would like to know if it's possible to write different set of rules for different apps that have access to same firebase database.For example:Users of App A should be able ...

153050per page
1
2345
375
Google CloudCollectiveSee more
This tag is in a collective: a subcommunity defined by tags with relevant content and experts.

Hot Network Questions

more hot questions
Newest firebase-security questions feed

[8]ページ先頭

©2009-2025 Movatter.jp