php - HTTP Headers of Included Files VS Browsing Location! -
The URL is included in another page because an http header is sent by a browser, when it is called from any Also browsing on that page is different, for example, if I have myjavascript.php, can I be able to tell if someone is being seen by someone being included in a tag instead of browsing it is? It comes a lot when people want to know how they can recognize image leaching.
The browser usually sends a "referrer" (SIC) header In-page requests include the URL of the page that contains the link.
This is accessible by using the $ _ SERVER ['HTTP_REFERER']
variable (note abnormal spelling).
The idea is that you can see this variable and you can see that it refers to the portion of your site.
Note that this variable is not always right; A user can choose their privacy by not sending a referrer header (via some kind of ugly privacy tools) and they can modify their browser to send whatever they want in this area. Therefore, it should not be trusted for authentication, unless you also pay attention that a legitimate user can also leave it blank or put an arbitrary string in it.
Comments
Post a Comment