如何在asp.net中编写代码来停止asp.net应用程序的逆向工程

时间:2022-04-23 10:48:56

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?

我们有一个可下载的应用程序。我们希望停止由某人进行逆向设计的应用程序以丢失我们的业务。有没有办法阻止这个?

3 个解决方案

#1


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.

你可下载的应用程序是什么意思?您正在讨论问题标题中的ASP.NET应用程序,但这不是一种可以下载的应用程序。如果您有一个已编译二进制文件的Console / WinForms / WPF-Application,您可以使用代码混淆工具来使逆向工程更难。

Best Regards

#2


Visual Studio (usuall) comes with Dotfuscator (community edition). Look in your Visual Studio Tools program files entry.

Visual Studio(usuall)附带Dotfuscator(社区版)。查看Visual Studio Tools程序文件条目。

PreEmptive Solutions’ Dotfuscator is the leading .NET Obfuscator, Compactor and Watermarker that helps protect programs against reverse engineering while making them smaller and more efficient. Dotfuscator Professional Edition is designed to stop even the best of decompilers from producing useful output. It provides comprehensive and efficient .NET code development and deployment.

PreEmptive Solutions的Dotfuscator是领先的.NET Obfuscator,Compactor和Watermarker,可帮助保护程序免受逆向工程的影响,同时使其更小,更高效。 Dotfuscator专业版旨在阻止最好的反编译器产生有用的输出。它提供全面而有效的.NET代码开发和部署。

#3


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.

我写了很多措施,我混淆了代码,我把钩子放到服务器的各个角落(注册表,数据库,驱动器的根),所以如果代码安装在其他地方,系统将找不到这些项目并锁定自己。我甚至花了很多时间自我加密一些源文件,然后删除加密工具本身。不幸的是,如果有人想窃取软件,他们仍然可以。你必须现实地判断你必须付出多少努力来阻止一定数量的盗窃。我喜欢Roeder的Reflector,但是这样的程序可以让一个称职的程序员深入了解你的保护代码并规避它。

Have you looked at 3rd party products like Xheo: http://www.xheo.com/products/codeveil/?gclid=CL-Tjoye7psCFdYB4wodHGVZAQ?

您是否看过像Xheo这样的第三方产品:http://www.xheo.com/products/codeveil/?grid = CL-Tjoye7psCFdYB4wodHGVZAQ?

I found this on SO too: Protect ASP.NET Source code

我也发现了这个:保护ASP.NET源代码

I hope this helps.

我希望这有帮助。

#1


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.

你可下载的应用程序是什么意思?您正在讨论问题标题中的ASP.NET应用程序,但这不是一种可以下载的应用程序。如果您有一个已编译二进制文件的Console / WinForms / WPF-Application,您可以使用代码混淆工具来使逆向工程更难。

Best Regards

#2


Visual Studio (usuall) comes with Dotfuscator (community edition). Look in your Visual Studio Tools program files entry.

Visual Studio(usuall)附带Dotfuscator(社区版)。查看Visual Studio Tools程序文件条目。

PreEmptive Solutions’ Dotfuscator is the leading .NET Obfuscator, Compactor and Watermarker that helps protect programs against reverse engineering while making them smaller and more efficient. Dotfuscator Professional Edition is designed to stop even the best of decompilers from producing useful output. It provides comprehensive and efficient .NET code development and deployment.

PreEmptive Solutions的Dotfuscator是领先的.NET Obfuscator,Compactor和Watermarker,可帮助保护程序免受逆向工程的影响,同时使其更小,更高效。 Dotfuscator专业版旨在阻止最好的反编译器产生有用的输出。它提供全面而有效的.NET代码开发和部署。

#3


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.

我写了很多措施,我混淆了代码,我把钩子放到服务器的各个角落(注册表,数据库,驱动器的根),所以如果代码安装在其他地方,系统将找不到这些项目并锁定自己。我甚至花了很多时间自我加密一些源文件,然后删除加密工具本身。不幸的是,如果有人想窃取软件,他们仍然可以。你必须现实地判断你必须付出多少努力来阻止一定数量的盗窃。我喜欢Roeder的Reflector,但是这样的程序可以让一个称职的程序员深入了解你的保护代码并规避它。

Have you looked at 3rd party products like Xheo: http://www.xheo.com/products/codeveil/?gclid=CL-Tjoye7psCFdYB4wodHGVZAQ?

您是否看过像Xheo这样的第三方产品:http://www.xheo.com/products/codeveil/?grid = CL-Tjoye7psCFdYB4wodHGVZAQ?

I found this on SO too: Protect ASP.NET Source code

我也发现了这个:保护ASP.NET源代码

I hope this helps.

我希望这有帮助。