3 ms·
These ideas are cool but I wonder how security works. Do you do like rate limiting and stuff like that?
by h_tbob 2y ago
These ideas are cool but I wonder how security works. Do you do like rate limiting and stuff like that?
- stopachka 2y agoWe built a permission system on top of Google's CEL [1]. Every object returned in a query is filtered by a 'view' rule. Similarly, every modification of an object goes through a 'create/update/delete' rule. You can learn more about the rules language in the permission docs: https://www.instantdb.com/docs/permissions https://www.instantdb.com/docs/permissions [1] https://github.com/google/cel-java https://github.com/google/cel-java