How to hide/encrypt the ajax requests from network tab in google and other browsers?

217
July 02, 2017, at 6:26 PM

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?

I have tried clear console method console.clear(); but it clears console not network tab.

Answer 1
  1. Your code doesn't have access to network tab. Network tab shows requests/responses client browser sends. Even if you somehow manage to hide your requests from browsers network tab, client still can see req/res via tools like wireshark.

  2. So you need to introduce some middle-ware between jwplayer and google drive, that will be responsible for securely fetching videos from google drive and serving them to jwplayer without exposing internal id's.

READ ALSO
Frontend Development with Multiple SPAs developed with different Frameworks

Frontend Development with Multiple SPAs developed with different Frameworks

Developers have the freedom to choose the right framework for developing BackEnd Microservices based on the requirementsBut Front End application development its always the choice of one framework

122
How to close div on tab 1 if i move to tab 2 ( For Mobile )

How to close div on tab 1 if i move to tab 2 ( For Mobile )

I have a queryI am willing to close div on page 1 if user clicks at any link on the page or inside the div and moves to another tab or link that opens after clicking anywhere inside page 1

177
Fabric JS - Split Multiple Lines IText

Fabric JS - Split Multiple Lines IText

I am using Fabric JS for my project, I want to split multiple lines IText like image below:

346