3 ms·
Probably worth adding disclaimer you work on FaunaDB. :) I am wondering in what sort of cases users can just hit the DB. Do you mind giving a tl;dr? Does it on
by alpb 8y ago
Probably worth adding disclaimer you work on FaunaDB. :)
I am wondering in what sort of cases users can just hit the DB. Do you mind giving a tl;dr? Does it only work for readonly/non-sensitive data?
- jchrisa 8y agoThanks. :) That was the last thing I wrote before falling asleep... TLDR is that many (not just FaunaDB) cloud databases have a security and connection model that's suitable for connecting from the browser. I know Firebase has been doing it forever, and you can also do it with DynamoDB if you don't mind complexity. It takes a little bit of thinking to set up the security rules so that users can only see what they are allowed, but it's worth it for the performance and runtime simplicity. And of course you can always invoke a Lambda for code paths that need to run with privileged access.