Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hardening Firebase Rules #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

omer88
Copy link

@omer88 omer88 commented Mar 11, 2018

Fixes #17
You can view the security issues in this report.

Solution

I removed the rule ".write": true from admins and users.
In addition, I removed the read rule from "/products/$p_id", since it was useless because of the ".read": true under products.

Please tell me if there is a problem with reading all the products.

An analysis on the fixed rules can be seen here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vulnerabilities in Firebase Database Rules
1 participant