how openload blocks embed videos by domain origin?

condor88

Newbie
Joined
Nov 21, 2018
Messages
2
Reaction score
0
Hi folks,

I am curious how openload can block some embed videos (blocking is set by file owner in openload dashboard) by domain origin? What technology do they use? js script or apache configuration or ...? Thx for reply :)
 
Whenever a request is made to a site, that request has information about who referred you to that site.

Example: When a user sends a request to openload.com/embed/abcdef , attached to the request, is a request header called referer (eg: "referer": "google.com") that tells openload that the user came from google.com. Openload can check if the referer is your domain and deny the request if it's not.

More info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer
 
Back
Top