Reputation: 808
I am using the Meteor JS node framework for a project I am working on.
I noticed that anyone visiting my website can simply enter a similar command into the javascript console in their browser and edit my database.
MyCollection.insert({name: 'I am a hacker', message: 'hahaha'});
Is there any way to stop users from being able to do this?
This is really not secure, all they need to do is find the name of the Collection and they can do anything they want.
How can I fix this problem?
Should I use a different framework, is Meteor JS not ideal for a large-scale project?
Thanks,
Jonathan.
Upvotes: 2
Views: 515
Reputation: 76
You would do best to read their docs, specifically http://docs.meteor.com/#dataandsecurity
Upvotes: 6