nebie - 保持javascript代码远离窥探的眼睛 [英] nebie - keeping javascript code away from prying eyes
问题描述
是否可以隐藏来自用户的javascript。我想
放置一些相当专有的逻辑客户端(以释放
服务器的负担) - 但我不想让源免费提供给每一个
汤姆,迪克和哈利。有什么建议吗?
Is it possible to ''hide'' javascript from a user. I am thinking of
putting some fairly proprietary logic client side (to release burden on
server) - but I dont want to make the source freely available to every
Tom, Dick and Harry. any suggestions?
推荐答案
Dave Schwimmer写道:
Dave Schwimmer wrote:
是否有可能''隐藏''javascript来自用户。我正在考虑将一些相当专有的逻辑客户端放在一边(以释放服务器上的负担) - 但我不想让每个人都可以免费获得这些来源。汤姆,迪克和哈利。有什么建议吗?
Is it possible to ''hide'' javascript from a user. I am thinking of
putting some fairly proprietary logic client side (to release burden on
server) - but I dont want to make the source freely available to every
Tom, Dick and Harry. any suggestions?
你唯一能做的就是让它变得模糊不清。
-
Ian Collins 。
The only thing you can do is make it obscure.
--
Ian Collins.
" Dave Schwimmer" < DS ***** @ nospam.com>在消息中写道
news:dt ********** @ nwrdmz02.dmz.ncs.ea.ibs-infra.bt.com ...
"Dave Schwimmer" <ds*****@nospam.com> wrote in message
news:dt**********@nwrdmz02.dmz.ncs.ea.ibs-infra.bt.com...
是否可以隐藏来自用户的javascript。我正在考虑将一些相当专有的逻辑客户端放在一边(以释放服务器上的负担) -
但我不想让每个Tom,Dick和
Harry都能免费获得源代码。有什么建议吗?
Is it possible to ''hide'' javascript from a user. I am thinking of putting
some fairly proprietary logic client side (to release burden on server) -
but I dont want to make the source freely available to every Tom, Dick and
Harry. any suggestions?
简短的回答是......不能这样做。
The short answer is....it can''t be done.
>
Jim写道:
Jim wrote:
" Dave Schwimmer" < DS ***** @ nospam.com>在消息中写道
新闻:dt ********** @ nwrdmz02.dmz.ncs.ea.ibs-infra.bt.com ...
"Dave Schwimmer" <ds*****@nospam.com> wrote in message
news:dt**********@nwrdmz02.dmz.ncs.ea.ibs-infra.bt.com...
是否可以隐藏来自用户的javascript。我正在考虑将一些相当专有的逻辑客户端放在一边(以释放服务器上的负担) -
但我不想让每个Tom,Dick和
Harry都能免费获得源代码。有什么建议吗?
Is it possible to ''hide'' javascript from a user. I am thinking of putting
some fairly proprietary logic client side (to release burden on server) -
but I dont want to make the source freely available to every Tom, Dick and
Harry. any suggestions?
简短的回答是....不能这样做。
The short answer is....it can''t be done.
$ b $好的精确而重要。非常好。但是总是有一种方式可以使用
(或者是吗?)。如果我在服务器上的* .js文件中有我的库,那么该怎么办?
在用户无权访问的位置(我将需要服务器端b / b)加载文件 - 这对客户端处理的目的来说是打败了
所以我已经用脚砸了一下
)。
有谁知道怎么解决这个问题?
Ok. precise and to the point. Thats good. But theres always a way though
(or is there?). What if I have my libraries in *.js files on the server
in a location that the user does not have permissions to (I will
ofcourse need something server side to load the files - which defeats
the purpose of client side processing, so I shot myself in the foot
already).
Does anyone know how to get around this?.
这篇关于nebie - 保持javascript代码远离窥探的眼睛的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!