保护客户端逻辑&数据 [英] Protecting client side logic & data
问题描述
我正在编写一个数据密集型网络应用程序.所以这意味着我不可能在每个事件都涉及到太大而无法再次发送的巨大数据之后对服务器进行任何计算.再次.
I am coding a data intense web app. So that means I cant be possibly doing any computations on sever- computation after every event involves huge data too large to be sent to sever again & again.
所以我必须做所有的执行&仅将所有数据保留在 clint 端.目前我正在使用 JS 来做到这一点.有没有办法保护我的js文件&数据,以便没有人(至少可以轻松)访问它?
So I have to do all execution & keep all data on clint side only. Currently I am using JS to do so. Is there a way by which I can protect my js files & data so that no one has (atleast an easy) access to it ?
是否有其他放置方式(JS除外)来放置逻辑&客户数据隐藏它们?
Is there some other way of putting (except JS) to put logic & data on client & conceal them ?
谢谢,
推荐答案
与其将 javascript 用于客户端逻辑,也许您可以使用从混淆的 java 源代码编译的小程序.
Rather than using javascript for the client side logic, perhaps you could use an applet which was compiled from obfuscated java source code.
这篇关于保护客户端逻辑&数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!