分发 ASP.net 应用程序
我有一个 ASP.NET 应用程序,并将其出售给不同的公司。我根据公司信息更改应用程序设置,并将整个应用程序发布到输出文件夹。然后将输出文件夹与必要的 dll(我的应用程序 dll 和一些第三方 dll)带到客户端计算机。我想知道是否有人可以从 bin 文件夹中的 dll 中反编译代码并获取应用程序代码?我是否需要遵循任何标准流程,以便我的代码在客户端服务器中是安全的。
I have an ASP.NET application and i selling it to different companies. I change the application settings according to the company information and publish the whole application to a output folder. And then take the output folder to clients machine with necessary dlls(My application dll and few third party dlls). I am wondering if it is possible for anyone to decompile the code from the dll's in bin folder and get the application code? Is there any standard process i need to follow so the my code are safe in client server.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您应该查看适合您的部署的 Web 部署项目,而不是 Xcopy 部署 - http://msdn.microsoft.com/en-us/magazine/cc163448.aspx。
如果您需要保护程序集免受逆向工程的影响,则需要查看混淆器,例如 http:// /www.preemptive.com/products/dotfuscator/overview
Rather than Xcopy deploy, you should look have a look at web deployment projects for your deployment - http://msdn.microsoft.com/en-us/magazine/cc163448.aspx.
If you need to protect your assemblies from reverse engineering, you need to look at an obfuscator like http://www.preemptive.com/products/dotfuscator/overview
您还可以尝试 Redgate 的 SmartAssembly
You can also try Redgate's SmartAssembly
是的...并查看其他答案以了解如何避免它。
Yes.... And see other answers for how to avoid it.
您需要混淆为您的项目创建的 dll,但存在一些与 ASP.NET 相关的问题。 查看这篇 stackoverflow 帖子
尽情享受吧!
You would need to obfuscate the dlls created for your project, but there are some issues with that related to ASP.NET. See this stackoverflow post
Enjoy!