Monday, August 26, 2013

using meteor audit-argument-checks

About Meteor

Hello there. This is my first blog post on meteor js. Meteor is an open-source platform for building web apps. It is a full stack javaScript platform  built on top node.js. Meteor is easy to learn and yet powerful.
Meteor uses JavaScript on both the client and on the server.

what is audit-argument-checks ? 

It is a meteor package which throws an Meteor.Error when we are using client  side data without validating it.  ( Never trust a user input. right? ). Its job is to enforce security checks.  

How to use audit-argument-checks ?

first add audit-argument-checks package to your project. Go to project dir and execute.

meteor add audit-argument-checks

simply pass values comes from client side and their data types in to check().

that is it. Keep in mind audit-argument-checks is not a silver bullet. :-)

Learn more on meteor security