Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seguranca no meteor #133

Open
andredornas opened this issue May 9, 2017 · 2 comments
Open

Seguranca no meteor #133

andredornas opened this issue May 9, 2017 · 2 comments
Labels

Comments

@andredornas
Copy link
Contributor

Ler a documentacao do meteor e descobrir como ele trata seguranca

@andredornas
Copy link
Contributor Author

@andredornas
Copy link
Contributor Author

Security checklist

This is a collection of points to check about your app that might catch common errors. However, it’s not an exhaustive list yet—if we missed something, please let us know or file a pull request!

  • Make sure your app doesn’t have the insecure or autopublish packages.
  • Validate all Method and publication arguments, and include the audit-argument-checks to check this automatically.
  • Deny writes to the profile field on user documents.
  • Use Methods instead of client-side insert/update/remove and allow/deny.
  • Use specific selectors and filter fields in publications.
  • Don’t use raw HTML inclusion in Blaze unless you really know what you are doing.
  • Make sure secret API keys and passwords aren’t in your source code.
  • Secure the data, not the UI - redirecting away from a client-side route does nothing for security, it’s just a nice UX feature.
  • Don’t ever trust user IDs passed from the client. Use this.userId inside Methods and publications.
  • Set up browser policy, but know that not all browsers support it so it just provides an extra layer of security to users with modern browsers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants