Silverlight 和混淆 [英] Silverlight and Obfuscation

查看:44
本文介绍了Silverlight 和混淆的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对 Silverlight 还很陌生,我真的觉得它很酷.我有一个关于它如何在客户端运行代码的问题.

I am fairly new with silverlight and I really find it cool. I have a question about how it runs the code client-side tho..

例如,我有一个网站根据用户输入的金额计算一定的金额.这当然我很乐意做客户端.但问题是,用于计算的公式是专有的,属于商业机密.如果我使用 SL 将此公式放在客户端,它会安全吗?或者能不能体现出来?

Say for example, I have a site that calculates a certain amount based on user inputted amounts. This of course I would love to do client-side. The catch though, is that the formula used for the calculation is proprietary and a trade secret. If I put this formula client-side using SL, will it be safe? Or can it be reflected?

推荐答案

如果你想对算法保密,不要把它推到客户端.没有任何形式的混淆或保护是完美的.

If you want to keep algorithms secret, don't push it to the client side. No form of obfuscation or protection is ever perfect.

此外,当您在客户端进行计算时,您应该总是检查服务器上的结果,而不是仅仅假设它们是正确的.假设客户端受到威胁.

Also, when you have calculations on the client side, you should always check the results on the server, rather than just assuming they're correct. Assume that the client is compromised.

这篇关于Silverlight 和混淆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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