我如何为dll文件提供安全性 [英] how i provide security for dll file

查看:98
本文介绍了我如何为dll文件提供安全性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  1 )我们开发了一个库 使用它< span class =code-keyword> with 我们的软件&我们建立它作为 DLL 
2 )我们开发了一个应用程序使用我们的库

现在我需要的是没有其他用户可以使用我的库 他的应用程序 示例我将我的应用程序提供给 结束用户库 添加到 设置中的class =code-keyword>, 如果我们不保护它,任何用户都可以使用作为参考 .net项目可以使用我的库开发自己的程序,我需要一些东西,只有我的应用程序我将访问 我的库其他任何程序都无法使用它 as 引用访问其功能

解决方案

我最近阅读了其中一家提供逆向工程解决方案的公司的声明。他们声称他们可以轻松地对任何.NET产品进行逆向工程,即使它受到大多数昂贵且知名的强大保护系统的保护,特别是如果这种保护软件众所周知的话。你知道,我试图相信这些说法。他们真的可以做到。



关于DLL的使用,如果您的应用程序集可以使用它,任何其他开发人员都可以使用它。你所能做的只是一些混淆。混淆可以使您对类库的理解变得更加困难,而且使用非常烦人。



我根本不会打扰。普通用户无论如何都不会使用它,那些可能非常需要你的图书馆的人(你觉得他们真的会想要它吗?)总能找到办法。



< DD> -SA

1)We have developed a library to use it with our software & we build it as DLL
2)We developed  a application using our library

Now what I need  that no other user can use my library in his application for example  when i give my application to end user that library is going to be added in setup, and if we dont protect it , any user can use it as reference in a .net project and can use my library and develop his own program , I need some thing that only my application will have access to my library and no other program can use it as reference and access its features

解决方案

I recently read claims of one of the companies providing a solution for reverse engineering. They claim that they can reverse-engineer any .NET product with ease, even if it it protected by most expensive and reputed and powerful protection systems, especially if this protection software is well-known. You know, I tent to trust those claims. They really can do it.

As to the use of the DLL, if your application assemblies can use it, any other developer can do it. All you can do is some obfuscation. Obfuscation can make understanding of your class library much more difficult, and the use extremely annoying.

I would not bother at all. Regular users will not use it anyway, and those who may badly need your library (do you think they really will want it?) will always find a way.

—SA


这篇关于我如何为dll文件提供安全性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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