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

How do you secure authentication credentials ? #1

Open
jalik opened this issue Apr 17, 2016 · 2 comments
Open

How do you secure authentication credentials ? #1

jalik opened this issue Apr 17, 2016 · 2 comments

Comments

@jalik
Copy link

jalik commented Apr 17, 2016

Just to know, how do you handle private credentials ?
I mean since you give account name and password in the Store initialization as parameters, they should not be visible on the client but only on the server for security reasons, so how do you handle this ? using a Meteor.isServer ?

@sebakerckhof
Copy link
Owner

No. Meteor isserver is not secure. You should use environment variables. But I ported this from my cfs storage adapter, where client and server is separated. i forgot about this... I'll make some changes tomorrow

@jalik
Copy link
Author

jalik commented Apr 18, 2016

Okay, don't forget to mention it in the README (it's not obvious for some people unfortunately), so everyone will do it the right way ;)
Thank you.

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

No branches or pull requests

2 participants