Ways to make Javascript code hacking / injection / manipulation difficult?

后端 未结 4 976
情深已故
情深已故 2021-02-06 08:37

Are there ways to prevent, or make it difficult enough, for someone to inject Javascript and manipulate the variables or access functions? A thought I had is to change all var n

4条回答
  •  无人及你
    2021-02-06 09:00

    Obfuscation and minification should make it a good bit more difficult to hack, but I agree with spender.

提交回复
热议问题