安全地向用户隐藏jQuery结果吗? [英] Securely hide jQuery result from user?

查看:106
本文介绍了安全地向用户隐藏jQuery结果吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用jQuery生成随机数,然后以用户无法找到该数的形式将其发布到服务器?我知道我可以隐藏"输出,但是我也可以将其隐藏在萤火虫之外吗?

Is it possible to generate a random number with jQuery, then post it to the server in a form without the user being able to find out the number? I know I can "hide" the output, but can I hide it from firebug too?

是否可以通过jCryption之类的东西来完成,或者使用jQuery实际上是不可能的吗?

Could it be done with something like jCryption, or is this actually impossible with jQuery?

推荐答案

您在客户端所做的任何事情都不应被认为不受用户操纵的影响.

Nothing you do on the client-side should ever be considered safe from the user's manipulation.

这篇关于安全地向用户隐藏jQuery结果吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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