Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当为 silverlight 应用程序选中“通过使用应用程序缓存减少 XAP 大小”时,引用的程序集可以被压缩为单独的 zip 文件并由用户在访问应用程序时下载。
如何加密这些 zip 文件和 xap 文件以保护您的应用程序?
您需要将 XAP 视为可查看的 jQuery。除非你混淆代码,否则很容易环顾四周,看看发生了什么,使用反射器或类似的东西。正如评论中提到的,获取 XAP 的传输可以通过 HTTPS。保护您从客户端应用程序接收到的内容的方法是不信任它发送的任何内容。