/user-security

Protects profile fields in Meteor.users collection.

Primary LanguageJavaScriptMIT LicenseMIT

user-security.

Protects the Meteor.users collection from client-side writes. Meteor's user collection was designed poorly with respect to it's profile implementation. This simply covers that security hole.

Installation

meteor add streemo:user-security

Injection

Literally, all this library does is inject this script into your server:

Meteor.startup(()=>Meteor.users.deny({update:()=>true}))