Closed akaiworld closed 8 years ago
When i open my app in the browser i can easilly find the link with login & password to my graphene database in files on the client.
So anyone can get access to my DB! How to hide my Meteor.neo4j.connectionURL = '...'; line from clients?
Wrap it into if (Meteor.isServer) { /* set connectionURL here */ };
if (Meteor.isServer) { /* set connectionURL here */ };
Ok, the problem was that i left the same string commented on the client. When removed, the line disappeared on the clients files.
When i open my app in the browser i can easilly find the link with login & password to my graphene database in files on the client.
So anyone can get access to my DB! How to hide my Meteor.neo4j.connectionURL = '...'; line from clients?