What do I understand?
It shares some code between client and server since both are in javascript. for example: form validation.
How it works? Can I view shared code from a browser? If so, then it becomes easy for an attacker to find loopholes in our code. Since the same code is executed on the server side, an attacker could also pass a server-side check.
Are there any flaws or security issues if we follow this approach?
. , , JavaScript, node.js - JavaScript-, node.js - . (Java , .)
JS, - .
, , .
Source: https://habr.com/ru/post/1526869/More articles:Google Play Services Library is not installed. - androidhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1526865/multiple-nancy-route-patterns-to-a-single-action&usg=ALkJrhgZsiosTT2Et9UmXdztX4eq_xuyGAarm64 armv7 armv7s architecture settings - iosHow to use timeout attribute with post method in jQuery ajax request? - jqueryAlgorithmic Time Counting - mathWhy does Document.prototype.getElementsByName exist in Chrome? - javascriptjava delimited string - javaTransparent HTML5 canvas overlay gradients - html5Creating a canvas selection panel with full rgb space - javascriptAssigning an object to another creates a copy? - garbage-collectionAll Articles