如何从Google和其他浏览器的“网络"标签隐藏/加密Ajax请求? [英] How to hide/encrypt the ajax requests from network tab in google and other browsers?
问题描述
我正在jwplayer上工作,我只想隐藏/加密jwplayer发送的ajax请求以播放视频.原因是当jwplayer发送请求时它包含视频ID,而我不想透露它,因为它是从Google驱动器流式传输的,任何人都可以提取相同的视频.有什么方法可以隐藏/加密来自控制台的Ajax调用?
I am working on jwplayer and I just want to hide/encrypt the ajax requests that are sent by jwplayer to play the video. The reason is this when jwplayer send request it contains video id and I don't want to reveal it because it is streaming from google drive and any one can leach the same video. Is there any method to hide/encrypt ajax calls from console?
我尝试过清除控制台方法console.clear();但会清除控制台而不是网络"标签.
I have tried clear console method console.clear(); but it clears console not network tab.
推荐答案
正如Max所说,您不能隐藏请求和/或阻止某人捕获下载到您网站上的任何视频.
As Max says you can't hide requests and/or stop someone from capturing any video which you download to your site.
通常的解决方案是对视频进行加密,以便没有密钥就无法观看或播放视频.
The usual solution is to encrypt the video so it can't be viewed or played without a key.
这篇关于如何从Google和其他浏览器的“网络"标签隐藏/加密Ajax请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!