如何在ASP,C#.Net中保护DLL(类库)文件 [英] How to protect DLL (Class Library) Files in ASP,C# .Net

查看:150
本文介绍了如何在ASP,C#.Net中保护DLL(类库)文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我想保护我的类库文件(DLL),看不到任何来自dll文件的代码,



是保护我的dll文件加密和解密的可能性.Net



请建议我..



谢谢,

------------------

Hi,

I want to protect my Class Library files (DLL), does not see anybody inside code from dll files,

is any posibilities to protect my dll files for encryption and decryption in .Net

please suggest me..

Thank you,
------------------

推荐答案

你可以做一些事情来使它变得更难,但你不能阻止人们完全看 - 这样做意味着你的应用程序无法读取DLL中的代码要么!



首先查看混淆 [ ^ ] - 谷歌可以帮助您找到混淆器: Google [ ^ ]

但请注意,您无法完全保护任何可执行文件:如果处理器可以读取它来运行它,那么一个人也可以!并且非常容易地将更多的工作(以及金钱)投入到保护中,而不是在盗窃中保存...
There are a couple of things you can do to make it harder, but you can't stop people looking completely - to do that would mean that the code in the DLL wouldn't be readable by your application either!

Start by looking at obfuscation[^] - google can help you find obfuscators: Google[^]
But be aware that you can't completely protect any executable: if the processor can read it to run it, then so can a person! And it's very, very easy to put more work (and thus money) into protection than you would have saved in theft...


这篇关于如何在ASP,C#.Net中保护DLL(类库)文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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