I am implementing an application (HTML and AngularJS) that uses RethinkDB to store data.
Basically, anyone can get the RethinkDB connection credentials from the .js file.
So how can I allow the user to only get their own data?
In the RethinkDB documentation it is mentioned that you can control read and write on the db level and on the table level but nothing mentioned to control access on the document level !!!
How can I achieve this? (users can only get their own documents )
Regards,