javascript - How to achieve maximum web security here -


We have a browser front end that is a node. Communicates with the JS server, which stores data in the Mongodibi database in the bluemix cloud.

My boss does not really want the data being watched by intruders. We do not want any security expert.

In addition, my boss wants to store the data, we thought It would be a good idea to use the certificate to establish an SSL connection in order to ensure that the browser protects communicating with trusted websites and SSL encryption Su is. To be encrypted in DB, this second layer of encryption will mean that the data submitted by the browser will pass through SSL, encrypt by the server, and then stored in Mongo DB. If the browser wants the data, the server will retrieve it, but will not bother to decrypt it first.

In fact the browser logs in and succeeds, the server responds with a private key that can be used, decrypt the data at the end of the browser, stored this key in JS variable Will go.

In this way, when an intruder has obtained data from Mongo DB, they only see encrypted GABBAS if they do not have the key (they are not the first). Or worse, if they manage to hack into DB.

Would it be a good way to provide peace to our customers that their information is actually being preserved?

Your solution seems right, if you look for some more security If there are better nodes js server url, from front end, if possible in your case try to add another medium ware which will work as a bridge between the nodjs server and the front end. The end user will not receive your actual node server location if some of the page source checks.

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -