web - Is it ok to make my firebase database public if no accounts are needed in my app? -
more of theoretical question, interested in correct way public data should accessed firebase realtime database. data viewable going webpage (no sign in needed). in past create anonymous account, seems inefficient (for each viewer of site) , seems might set .read
true
in rules no accounts needed access data.
however, seems firebase advises against setting .read
true
within rules, wondering correct convention here be.
generally speaking, setting .read
true
used testing purposes, don't need authentication , there no sensitive data of users. if content of app not contain data need private, can use settings if decide in future add authentication , want store sensitive data users in database, it's mandatory secure firebase database using firebase realtime database rules.
hope helps.
Comments
Post a Comment