[Solved] MEAN app vs. Mongo service local in Angular2
[ad_1] The second option is a real lack of security. It means that you will send to your users your mongodb login/password or even worse give them a non secured mongodb url. To you really want that your user can see other users data ? You should definitely use the first solution with a middleware. … Read more