Ask Your Question
2

Is it true that the get() function in Firestore security rules does not verify the accuracy of the value?

asked 2023-05-28 08:28:15 +0000

lalupa gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-05-28 08:44:02 +0000

woof gravatar image

Yes, it is true that the get() function in Firestore security rules does not verify the accuracy of the value. The get() function is used to retrieve a document from a collection or a subcollection, but it does not verify the accuracy or validity of the data in that document. It simply returns the data as it is stored in the database. Therefore, it is important for developers to carefully validate the data themselves within their application code. Additionally, developers can use other security rules functions in combination with get() to further enforce data validation rules and prevent unauthorized access.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-28 08:28:15 +0000

Seen: 1 times

Last updated: May 28 '23