How to encrypt user information?


#1

I want to encrypt user information so I can’t see it and app can only access it if user decrypts by logging in.


#2

I think You should take a look at fields

Quick example:

Meteor.publish(‘myPublication’, function () {
return Meteor.users.find({}, {fields : { “profile” : (this.userId ? 1 : 0) }});
}