Problem with referer policy?
Which referer should I use?
Hello how are you? Well, in this article I'm going to explain what the referer is and if you embed our videos on your page, we're also going to make some observations about precautionary measures in your configuration. Another very important thing to mention is that the referer is basically a very important way for us to know which page the video is being embedded in, it is very important to know which configuration to use if you are using domain protection.
Is there a possible problem?
Unfortunately yes, but calm down that I will explain why this happens. In the <head> tag of your website it is possible to specify the Referrer-Policy, the HTTP Referrer-Policy header controls how much referral information should be included in the requests, it serves as a kind of history and also an identifier of where you are sending the requests.
What can cause a problem is if the tag used in this case is no-referrer, this way we cannot receive where the request is being made and thus be able to send the content and consequently may return the status 403 as unauthorized. A more concrete example of using this code with this parameter is the following:
<meta name="referrer" content="no-referrer">
Having said that, it is always important to look at which configuration related to the referrer is being applied to the <head> of your site, so that you do not have problems in this regard, which consequently can cause even a momentary drop in your content.
Updated on: 12/28/2022