隐藏Java脚本 [英] Hide Java Script

查看:45
本文介绍了隐藏Java脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我有一个带有大量Java脚本文件的asp.net Web应用程序。


我想保护Java脚本不知怎的,所以它不能被远程用户看到。


我找到了几个第三方解决方案,但我想我记得那个

有一种方法来''编译''java脚本并使用它来代替

实际的脚本吗?


我对第三方解决方案的问题是双重的:


1)我很便宜


2)我要去在客户的服务器上安装应用程序,供客户使用

。我不希望他们(我的客户)或他们的客户

来访问java脚本文件。


我认为第三方解决方案会在我的服务器上为我工作正常,但是我不能给客户提供应用程序和第三方保护功能

并说:安装这样你就可以了看不到我的代码(因为他们可能不会!)。


无论如何,我愿意接受任何解决方案。


谢谢

kpg

Hello all,

I have an asp.net web application with tons of Java script files.

I would like to protect the Java Script somehow so it can''t be
seen by a remote user.

I found several 3rd party solutions, but I thought I remember that
there was a way to ''compile'' java script and use that instead of
the actual script?

The problem I have with 3rd party solutions is two-fold:

1) I''m cheap

2) I''m going to install the app on a customer''s server for use by
their customers. I don''t want them (my customer) or their customers
to have access to the java script files.

I think a 3rd party solution would work fine for me on my server, but I
can''t really give the customer the app and the 3rd party protection thingy
and say: install this so you can''t see my code (because they might not!).

Anyway, I''m open to any solution.

Thanks
kpg

推荐答案

你好kpg,


如果浏览器可以读取它,你也可以。任何人都可以。这是不可能的。


嘿,这只是JavaScript。没有什么值得保护的。


-

HTH,


Kevin Spencer

微软MVP

..Net开发人员

你所寻求的是你所得到的。


" kpg" < IP *** @ thereforeiam.com>在消息中写道

新闻:%2 **************** @ TK2MSFTNGP10.phx.gbl ...
Hi kpg,

If the browser can read it, so can you. So can anyone. It is not possible.

Hey, it''s just JavaScript. Nothing worth protecting.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.

"kpg" <ip***@thereforeiam.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
大家好,

我有一个包含大量Java脚本文件的asp.net Web应用程序。

我想以某种方式保护Java脚本,所以它不能是
我找到了几个第三方解决方案,但我想我记得有一种方法来''编译''java脚本并使用它而不是
实际的剧本?

我对第三方解决方案的问题有两个方面:

1)我很便宜


我认为第三方解决方案可以在我的服务器上正常工作,但是我无法真正给客户提供应用程序和第三方保护功能,并说:安装这个以便你看不到我的代码(因为它们可能不会!)。无论如何,我愿意接受任何解决方案。

谢谢
kpg
Hello all,

I have an asp.net web application with tons of Java script files.

I would like to protect the Java Script somehow so it can''t be
seen by a remote user.

I found several 3rd party solutions, but I thought I remember that
there was a way to ''compile'' java script and use that instead of
the actual script?

The problem I have with 3rd party solutions is two-fold:

1) I''m cheap

2) I''m going to install the app on a customer''s server for use by
their customers. I don''t want them (my customer) or their customers
to have access to the java script files.

I think a 3rd party solution would work fine for me on my server, but I
can''t really give the customer the app and the 3rd party protection thingy
and say: install this so you can''t see my code (because they might not!).

Anyway, I''m open to any solution.

Thanks
kpg



您正在考虑Windows脚本编码器
http://www.microsoft.com/downloads/d...displaylang=en

它没有'加密javascript,但它会保持诚实的人诚实

如果可以说这样的话。


" kpg"写道:
You''re thinking of the Windows Script Encoder
http://www.microsoft.com/downloads/d...displaylang=en

It doesn''t encrypt the javascript, but it will "keep honest people honest"
if such a thing can be said.

"kpg" wrote:
大家好,

我有一个包含大量Java脚本文件的asp.net Web应用程序。

我会喜欢以某种方式保护Java Script所以它不能被远程用户看到。

我找到了几个第三方解决方案,但我想我记得那里
是一种''编译''java脚本并使用它来代替
实际脚本的方法吗?

我对第三方解决方案的问题是双重的:
< 1)我很便宜

2)我打算在客户的服务器上安装应用程序,供客户使用。我不希望他们(我的客户)或他们的客户有权访问java脚本文件。

我认为第三方解决方案可以在我的服务器上正常工作,但是我无法真正给客户提供应用程序和第三方保护功能,并说:安装这个以便你看不到我的代码(因为它们可能不会!)。无论如何,我愿意接受任何解决方案。

谢谢
kpg
Hello all,

I have an asp.net web application with tons of Java script files.

I would like to protect the Java Script somehow so it can''t be
seen by a remote user.

I found several 3rd party solutions, but I thought I remember that
there was a way to ''compile'' java script and use that instead of
the actual script?

The problem I have with 3rd party solutions is two-fold:

1) I''m cheap

2) I''m going to install the app on a customer''s server for use by
their customers. I don''t want them (my customer) or their customers
to have access to the java script files.

I think a 3rd party solution would work fine for me on my server, but I
can''t really give the customer the app and the 3rd party protection thingy
and say: install this so you can''t see my code (because they might not!).

Anyway, I''m open to any solution.

Thanks
kpg


你不能阻止任何人决定你是否使用框架集你可以将你的所有代码放入_top对象中他们将会有一个快乐的时间

到达它

" kpg" < IP *** @ thereforeiam.com>在消息中写道

新闻:%2 **************** @ TK2MSFTNGP10.phx.gbl ...
you cant stop anyone whos determined however if you use a frameset you can
put all of your code into the _top object they''ll have a jolly hard time
getting to it
"kpg" <ip***@thereforeiam.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
大家好,

我有一个包含大量Java脚本文件的asp.net Web应用程序。

我想以某种方式保护Java脚本,所以它不能是
我找到了几个第三方解决方案,但我想我记得有一种方法来''编译''java脚本并使用它而不是
实际的剧本?

我对第三方解决方案的问题有两个方面:

1)我很便宜


我认为第三方解决方案可以在我的服务器上正常工作,但是我无法真正给客户提供应用程序和第三方保护功能,并说:安装这个以便你看不到我的代码(因为它们可能不会!)。无论如何,我愿意接受任何解决方案。

谢谢
kpg
Hello all,

I have an asp.net web application with tons of Java script files.

I would like to protect the Java Script somehow so it can''t be
seen by a remote user.

I found several 3rd party solutions, but I thought I remember that
there was a way to ''compile'' java script and use that instead of
the actual script?

The problem I have with 3rd party solutions is two-fold:

1) I''m cheap

2) I''m going to install the app on a customer''s server for use by
their customers. I don''t want them (my customer) or their customers
to have access to the java script files.

I think a 3rd party solution would work fine for me on my server, but I
can''t really give the customer the app and the 3rd party protection thingy
and say: install this so you can''t see my code (because they might not!).

Anyway, I''m open to any solution.

Thanks
kpg



这篇关于隐藏Java脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆