我如何隐藏我的JSON请求以使其不显示在Firebug中 [英] How can i hide my json requests from showing in firebug

查看:128
本文介绍了我如何隐藏我的JSON请求以使其不显示在Firebug中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从Firebug控制台隐藏我的json请求URL? 似乎已满,任何人都可以将其检索到我们的数据到他们的网站 请注意,我正在与第三方交谈,并且不能在其上进行受限呼叫域

how can i hide my json request URL from firebug console? It appears full as anyone can take it and retrieve our data to their website note i am talking to a third party and i can't do restricted calling domains on it

推荐答案

原则上不能,并且必须设计系统以免不必要.您可以尝试混淆请求本身,但前提是您必须控制协议(听起来好像没有).但是即使那样,您仍会将混淆请求的所有JavaScript发送到浏览器,在该浏览器中可以进行反向工程.

In principle, you can't, and you must design your system so that you don't need to. You can try to obfuscate the request itself, but only if you control the protocol (which it sounds like you may not). But even then you're going to send all the javascript required to obfuscate the request to the browser, where it is available to be reverse engineered.

无法向用户隐藏最终的网络流量.这是他们的机器和他们的网络.即使您可以以某种方式停止Firebug,用户也可以使用Charles.如果您确实找到了停止Firebug的方法,则肯定会报告它为bug,并已修复,因此我不会在此上花费很多开发时间.

The final network traffic cannot be hidden from the user. It's their machine and their network. Even if you could stop Firebug somehow, the user can just use Charles. If you did find a way to stop Firebug, it would certainly be reported as a bug and fixed, so I wouldn't spend a lot of your development time on it.

如果您需要DRM,那么您将需要研究DRM(它有其自身的问题,远未达到很高的效率),但是没有实际的方法可以完成您正在讨论的事情,并且肯定没有给您您的DRM提供帮助.第三方限制.

If you need DRM, then you're going to need to investigate DRM (which has its own issues and is far from highly effective), but there's no practical way to do what you're discussing, and certainly not given your third-party restriction.

这篇关于我如何隐藏我的JSON请求以使其不显示在Firebug中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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