如何在asp.net中编写代码来阻止asp.net应用程序的逆向工程
我们有一个可下载的应用程序。 我们希望阻止某人对应用程序进行逆向工程从而失去我们的业务。 有什么办法可以阻止这种情况吗?
We are having an application that is downloadable. We want to stop the application being reverse engineered by someone to lose our business. It there any way to stop this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
可下载的应用程序是什么意思? 您在问题标题中谈论的是 ASP.NET 应用程序,但这不是一种可以下载的应用程序。 如果您有一个已编译二进制文件的控制台/WinForms/WPF 应用程序,则可以使用代码混淆工具来使逆向工程变得更加困难。
此致
What do you mean by an downloadable application? You are talking about ASP.NET applications in the title of the question, but that's not a kind of application which can be downloaded. If you have a Console/WinForms/WPF-Application that has compiled binaries, you could use code obfuscation tools to make reverse engineering harder.
Best Regards
Visual Studio(通常)附带Dotfuscator(社区版)< /a>. 查看 Visual Studio 工具程序文件条目。
Visual Studio (usuall) comes with Dotfuscator (community edition). Look in your Visual Studio Tools program files entry.
我也遇到过类似的问题。 我有一个基于服务器的软件,该软件被加载到客户场所内的服务器上。 这意味着任何半技术人员都可以将文件从服务器复制到磁盘上,并使用一些专业知识重新安装到另一台服务器上。 基本上,窃取我的作品。
我编写了许多措施,我混淆了代码,并将挂钩放入服务器的各个角落(注册表、数据库、驱动器根),因此如果代码安装在其他地方,系统将找不到这些项目并锁定自身。 我什至不遗余力地对一些源文件进行自我加密,然后删除加密工具本身。 不幸的是,如果有人想窃取该软件,他们仍然可以。 您必须现实地判断您必须付出多少努力才能阻止一定比例的盗窃行为。 我喜欢 Roeder 的 Reflector,但正是这样的程序可以让有能力的程序员深入了解您的保护代码并规避它。
您是否看过 Xheo 等 3rd 方产品:http://www.xheo .com/products/codeveil/?gclid=CL-Tjoye7psCFdYB4wodHGVZAQ?
我也发现了这个:Protect ASP.NET Source code
我希望这会有所帮助。
I've had a similiar problem. I had a server based piece of software that was loaded onto a server within the customer's premises. This meant anyone half technical could copy the files from the server onto disk and re-install with some know-how onto another server. Basically, stealing my work.
I wrote in numerous measures, I obfuscated the code and I put hooks into all corners of the server (registry, database, root of drive) so if the code was installed elsewhere the system wouldn't find these items and lock itself up. I even went to the lengths of self encrypting some of the source files and then deleting the encryption tool itself. Unfortunately, if anyone wants to steal the software however, they still can. You have to realistically judge how much effort you must put it to stop a percentage of thefts. I love Roeder's Reflector, but it's programmes like this that allow a competent programmer an insight into your protection code and circumvent it.
Have you looked at 3rd party products like Xheo: http://www.xheo.com/products/codeveil/?gclid=CL-Tjoye7psCFdYB4wodHGVZAQ?
I found this on SO too: Protect ASP.NET Source code
I hope this helps.