google drive sdk - Can you restrict access to a realtime document? -


the sample app in docs loads file document , nicely keeps document synchronized across instances of app. awesome!

i don't understand when user allowed access realtime document. load / save drive file regulated permissions, seems if have key realtime document can make whatever changes document. user, is allowed save drive file, can evil updates realtime doc , might naively save them backing file.

i've tested briefly removing access file , verifying blocked user can indeed still change realtime document after access drive file blocked.

does know way block updates realtime document doesn't have access relatively-offline file?

additionally, i'd give each collaborator private space in document other collaborators cannot affect. know of plans per-key permissions firebase supports?

access realtime file is restricted sharing , permissions rights exactly same way regular drive files. no user can modify if not have access.

you can achieve private collaborators part having separate private file. if not require, please give additional details.


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -