是否可以提取 Xamarin Android 应用程序的代码并对其进行检查?
Is it possible to extract the code of a Xamarin Android application and inspect it?
我正处于即将在 Play 商店发布的应用程序的最后阶段.但是,我担心代码是否可以被其他人提取和查看.
I am in last stages of one Application which would be soon released on Play Store. However, I am worried if the code could be extracted and looked at by other people.
请告知,如何保护我的应用程序免受查看其代码的其他人的侵害.
Please advise, how to secure my App from other people looking at the code for it.
推荐答案是的,可以提取 Xamarin.Android 应用程序的代码.默认情况下,.dll 文件只是 APK 内的资源,可以使用 zip 实用程序提取它们并使用例如ILSpy.
Yes, it is possible to extract the code of a Xamarin.Android application. By default, the .dll files are just resources inside the APK, and they can be extracted with a zip utility and examined with e.g. ILSpy.
Xamarin 文档解释如何保护您的应用程序,包括:
The Xamarin docs explain how to protect your application, including:
请注意,#3 需要企业许可证,并且只是将 .NET .dlls 放在 APK 中更深的层;仍然可以提取它们并且它们仍然是未混淆的.
Note that #3 requires an Enterprise license and just puts the .NET .dlls a layer deeper in the APK; it is still possible to extract them and they are still unobfuscated.
请注意,#4 被明确列为不应在生产中使用的实验性功能.
Note that #4 is explicitly listed as an experimental feature that should not be used in production.
完全披露:我为 PreEmptive Solutions 工作,我们制作 Dotfuscator.
Full disclosure: I work for PreEmptive Solutions, and we make Dotfuscator.
更多推荐
混淆 Xamarin 应用程序
发布评论