Doing some research in the Meteor code (version 1.7) I found this default global var contains all remote suscribed collection:
I can fetch any collection simply in this way:
In my specific case I need to protect the geographical coordinates in clear text, but make sure that at runtime they can be calculated to position the markers on the map, I have already added a mechanism to limit the number of requests and make sure that they can not be all downloaded from the server.
Regardless of how I import the collection instances in my application I can access it after the first subbscription.
@copleykj, I wish the client can access the data, but that a user can not use a simple for loop to get them all together.
Maybe a solution to my problem could be to download data on the client through a Meteor.call () instead of a subscription encrypt these data and then decrypt client side with a private key that is saved inside a closure.
Could it be feasible?