复制.NET应用程序的保护 [英] Copy protection for a .NET application

查看:40
本文介绍了复制.NET应用程序的保护的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我打算使用C#开发一个.NET应用程序,以便将它作为一个完整的软件包和/或一个完整的软件包出售,所以我需要一个很好的方法来保护它

打击盗版。我知道一些保护它的方法(激活,序列密钥,

等),但我担心的是:当你可以随时拆解时,任何复制保护机制如何工作?

它并阅读源代码?即使我使用

本机C ++ DLL进行复制保护,也可以随时找到从

C#代码中调用它的位置。

这方面有什么好的建议吗?


谢谢

马西莫

I''m planning to develop a .NET application using C#, in order to sell it as
a shareware and/or as a full package, so I''ll need a good way to protect it
against piracy. I know some ways to protect it (activation, serial keys,
etc.), but my concern is: how can any copy protection mechanism work when
you can always disassemble it and read the source code? Even if I use a
native C++ DLL for my copy protection, the point where it''s called from the
C# code can always be found.
Any good tips about this?

Thanks
Massimo

推荐答案

使用好的混淆器。它至少会令人难以忍受。

我已经使用了一个来自smartowl并且看起来工作得很好。


Naveen Kohli
http://www.netomatix.com

" Massimo" ; < BA **** @ mclink.it>在消息中写道

新闻:%2 **************** @ TK2MSFTNGP10.phx.gbl ...
Use a good obfuscator. It will atleast make it tough to disassenble.
I have benn using one from wiseowl and it seems to work pretty good.

Naveen Kohli
http://www.netomatix.com
"Massimo" <ba****@mclink.it> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
我'我计划使用C#开发.NET应用程序,以便将其作为共享软件和/或完整软件包出售,所以我需要一个很好的方法来保护它免受盗版。我知道一些保护它的方法(激活,串行键等),但我担心的是:当你可以随时拆解它并阅读源时,任何复制保护机制如何工作代码?即使我使用本机C ++ DLL进行复制保护,也总能找到从C#代码调用它的地方。
关于这个的任何好的提示?

谢谢

Massimo
I''m planning to develop a .NET application using C#, in order to sell it
as a shareware and/or as a full package, so I''ll need a good way to
protect it against piracy. I know some ways to protect it (activation,
serial keys, etc.), but my concern is: how can any copy protection
mechanism work when you can always disassemble it and read the source
code? Even if I use a native C++ DLL for my copy protection, the point
where it''s called from the C# code can always be found.
Any good tips about this?

Thanks
Massimo



Massimo< ba **** @ mclink.it>写道:
Massimo <ba****@mclink.it> wrote:
我打算用C#开发一个.NET应用程序,以便将它作为一个共享软件和/或一个完整的软件包出售,所以我需要保护它免受盗版的好方法。我知道一些保护它的方法(激活,串行密钥等等),但我担心的是:当你可以随时拆解它并阅读源代码时,任何复制保护机制如何工作?即使我使用原生C ++ DLL进行复制保护,也可以随时找到从C#代码中调用它的位置。
关于这个的任何好的提示?
I''m planning to develop a .NET application using C#, in order to sell it as
a shareware and/or as a full package, so I''ll need a good way to protect it
against piracy. I know some ways to protect it (activation, serial keys,
etc.), but my concern is: how can any copy protection mechanism work when
you can always disassemble it and read the source code? Even if I use a
native C++ DLL for my copy protection, the point where it''s called from the
C# code can always be found.
Any good tips about this?




是的 - 别担心。如果你特别想要混淆你的代码,但是

除非你确实*

确定:

a)对海盗版本有很多需求

b)技术上有能力的人愿意花费

时间反编译您的混淆代码


-

Jon Skeet - < sk *** @ pobox.com>
http://www.pobox.com/~skeet

如果回复该组,请不要给我发邮件



Yes - don''t worry. Obfuscate your code if you particularly want to, but
I wouldn''t bother going any further than that unless you''re *really*
sure that:

a) There''ll be lots of demand for pirate copies
b) There''ll be technically competent people who are willing to spend
time decompiling your obfuscated code

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too


您可以检查混淆。但是根据混淆器的不同,那可能不会给你带来太大的收益。通过混淆代码可以很简单:
http://www.atrevido.net/blog/PermaLi...b-fcc15eb297c3


真正的方法是使用一个工具做的不仅仅是简单的命名

混淆(比如,输入混淆,调用混淆),加密你的

程序集,然后,编写真正混乱的代码关键部分。对于

实例,您可以尝试一些技巧来伪造您的堆栈跟踪,在串行检查中使用多个

线程等。部分。


还记得,如果有需求,人们会通过并破解你的

应用程序。甚至MS Window的激活也被破解了(Windows

程序员非常聪明)。


-

Michael Giagnocavo

MVP
www.atrevido.net


" Massimo" < BA **** @ mclink.it>在消息中写道

新闻:%2 **************** @ TK2MSFTNGP10.phx.gbl ...
You can check into obfuscating. But depending on the obfuscator, that might
not buy you much. Getting thru obfuscated code can be simple:
http://www.atrevido.net/blog/PermaLi...b-fcc15eb297c3

The real way is to use a tool that does a lot more than just simple naming
obfuscation (say, type obfuscation as well, call obfuscation), encrypts your
assembly, and then, write really messed up code for the critical part. For
instance, you might try some tricks to fake your stack trace, use multiple
threads, etc. in the "serial checking" part.

Also remember, if there''s demand, people will get through and crack your
app. Even MS Window''s activation has been cracked (and the Windows
programmers are extremely intelligent).

--
Michael Giagnocavo
MVP
www.atrevido.net

"Massimo" <ba****@mclink.it> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
我'我计划使用C#开发.NET应用程序,以便将其作为共享软件和/或完整软件包出售,所以我需要一个很好的方法来保护它免受盗版。我知道一些保护它的方法(激活,串行键等),但我担心的是:当你可以随时拆解它并阅读源时,任何复制保护机制如何工作代码?即使我使用本机C ++ DLL进行复制保护,也总能找到从C#代码调用它的地方。
关于这个的任何好的提示?

谢谢

Massimo
I''m planning to develop a .NET application using C#, in order to sell it
as a shareware and/or as a full package, so I''ll need a good way to
protect it against piracy. I know some ways to protect it (activation,
serial keys, etc.), but my concern is: how can any copy protection
mechanism work when you can always disassemble it and read the source
code? Even if I use a native C++ DLL for my copy protection, the point
where it''s called from the C# code can always be found.
Any good tips about this?

Thanks
Massimo






这篇关于复制.NET应用程序的保护的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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