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.
Asked: 2023-05-28 08:28:15 +0000
Seen: 1 times
Last updated: May 28 '23