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

发布于 2024-07-29 16:17:51 字数 69 浏览 7 评论 0原文

我们有一个可下载的应用程序。 我们希望阻止某人对应用程序进行逆向工程从而失去我们的业务。 有什么办法可以阻止这种情况吗?

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

羁客 2024-08-05 16:17:51

可下载的应用程序是什么意思? 您在问题标题中谈论的是 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

深巷少女 2024-08-05 16:17:51

Visual Studio(通常)附带Dotfuscator(社区版)< /a>. 查看 Visual Studio 工具程序文件条目。

PreEmptive Solutions 的 Dotfuscator 是
领先的 .NET 混淆器、Compactor
和水印有助于保护
反逆向工程程序
同时使它们变得更小、更大
高效的。 点解专业版
该版本旨在阻止甚至
最好的反编译器
有用的输出。 它提供
全面且高效的.NET代码
开发和部署。

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

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.

遥远的绿洲 2024-08-05 16:17:51

我也遇到过类似的问题。 我有一个基于服务器的软件,该软件被加载到客户场所内的服务器上。 这意味着任何半技术人员都可以将文件从服务器复制到磁盘上,并使用一些专业知识重新安装到另一台服务器上。 基本上,窃取我的作品。

我编写了许多措施,我混淆了代码,并将挂钩放入服务器的各个角落(注册表、数据库、驱动器根),因此如果代码安装在其他地方,系统将找不到这些项目并锁定自身。 我什至不遗余力地对一些源文件进行自我加密,然后删除加密工具本身。 不幸的是,如果有人想窃取该软件,他们仍然可以。 您必须现实地判断您必须付出多少努力才能阻止一定比例的盗窃行为。 我喜欢 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文