dscgt / recycling_website

Admin website for GT OSWM&R.
0 stars 0 forks source link

Authentication and data security #46

Closed michaelyfan closed 3 years ago

michaelyfan commented 4 years ago

Prevent anyone from being able to read/write to the database

The API key is not meant to be hidden on web (see here), and is exposed on clientside code. Assume that any user can gain access to the API key. Firebase rules (ex. firestore rules, storage rules) prevent malicious use. However the rules must be good enough:

Applies to all repos

Will need to be more robust if going with dscgt/route_recorder#22