如何保护.NET编写的API [英] How to secure an API written in .Net

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

问题描述

这是在现有的问题,在SO有关保护/混淆一般的.Net应用程序的变化。

This is a variation on an existing question in SO about securing/obfuscating .Net applications in general.

我发展在C#中,其中包括一些算法,我热衷于保护的API。
我知道没有一种方法将是完美的,但什么是这样做的普遍接受的方法?

I'm developing an API in C# that includes some algorithms I'm keen to protect. I understand no method will be perfect, but what's the generally accepted method for doing this?

我想我的客户能够编写针对API,但我不想让他们进行逆向工程里面有什么(至少我不想让他们更容易)。

I'd like my clients to be able to code against the API but I don't want them to reverse engineer what's inside (at least I don't want to make it easy for them).

如果我混淆代码,将不说,还混淆API?

If I obfuscate the code, won't that also obfuscate the API?

我们正在寻找smartAssembly任何想法对产品的意见,将不胜感激。

We're looking at smartAssembly any thoughts comments on the product would be appreciated.

推荐答案

模糊处理它。模糊处理工具不混淆公共API因为这将打破依赖于它外部代码。

Obfuscate it. Obfuscation tools don't obfuscate the public API as that would break external code that depends on it.

这篇关于如何保护.NET编写的API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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