HTTP request ----- Referer related matters

HTTP 之 Referer

The role of Referer:
(1) tell the server where it came from, that is, the source of the request
(2) statistical traffic
(3) determine whether the source is legitimate:
prevent theft of
links , malicious referrals, prevent CRSF vulnerabilities

Referer example:
Google browser-> www.baidu.com-> HTTP-> http meaning query-> F12
open the Request Headers query:
Insert picture description here
Obviously, an extra line of information about Referer
indicates that we came from this link of Baidu HTTP query

Published 19 original articles · Like1 · Visits 382

Guess you like

Origin blog.csdn.net/weixin_45798017/article/details/105009018