代码保护和资源编译

代码保护和资源编译

本文介绍了HTA,代码保护和资源编译。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


不知道有多少人实际上使用过HTA',但是我这样做了,并且我看到的是
保护与我照顾的一个相关的javascript代码。


这个HTA运行网络驱动器,而不是网页。


基本上我是''我已经读过,可以将js文件和/或
编译成资源文件,然后通过调用res来访问它://

协议。


麻烦的是我找不到任何关于从哪里获得

资源编译器的信息,以及如何实际创建这个资源dll,

有没有人知道如何做到这一点,或者我可以通过这个获得教程步骤

我。


我基本上想要从

prying用户保护我的js代码(至少表面上看)。由于代码的复杂性(生成html

页面),我对混淆没有好运,而且它往往会无法挽回地破坏

代码。


感谢您的帮助

Mike

Hi all,

Don''t know how many out there actually use HTA''s, but I do, and am
looking at protecting javascript code associated with one I look after.

This HTA runs of a network drive, not a webpage.

Basically I''ve read that it''s possible to compile js files and the like
to a "Resource file", and then access it using a call to the res://
protocol.

The trouble is I can''t find any information on where to get the
resource compiler from, and how to actually create this resource dll,
does anyone know how to do this, or where I can get a tutorial to step
me through this.

I basically want to protect my js code (at least superficially) from
prying users. Because of the code complexity (the generates html
pages), I''ve had no luck with obfuscation, and it tends to break the
code irreparably.

Thanks for any help
Mike

推荐答案




如果浏览器兼容性不是问题,您可以使用Microsoft

脚本编码器。这不是一些长篇大论,但仍然比任何自制的混淆器好一些。


< http://www.microsoft .com / downloads / details.aspx?FamilyId = E7877F67-C447-4873-B1B0-21F0626A6329& displaylang = zh>


< http://msdn.microsoft.com/library /default.asp?url=/library/en-us/script56/html/seusingscriptencoder.asp>



If the browser compatibility is not an issue, you may use Microsoft
Script Encoder. It''s not some long-key enscription, but still times
better than any home made obfuscator.

<http://www.microsoft.com/downloads/details.aspx?FamilyId=E7877F67-C447-4873-B1B0-21F0626A6329&displaylang=en>

<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/seusingscriptencoder.asp>




这篇关于HTA,代码保护和资源编译。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 11:06