The Referrer-Policy HTTP. header controls how much referrer information (sent via the Referer header) should be included with requests. Aside from the HTTPhường header, you can set this policy in HTML.

Bạn đang xem: Referer là gì

Header type Forbidden header name
Response header

Quý Khách sẽ xem: Referer là gì

Referrer-Policy: no-referrerReferrer-Policy: no-referrer-when-downgradeReferrer-Policy: originReferrer-Policy: origin-when-cross-originReferrer-Policy: same-originReferrer-Policy: strict-originReferrer-Policy: strict-origin-when-cross-originReferrer-Policy: unsafe-url cảnh báo The original header name Referer is a misspelling of the word "referrer". The Referrer-Policy header does not chia sẻ this misspelling.

no-referrer The Referer header will be omitted entirely. No referrer information is sent along with requests. no-referrer-when-downgrade Send the origin, path, & querystring in Referer when the protocol security màn chơi stays the same or improves (HTTP→HTTP.., HTTP→HTTPS, HTTPS→HTTPS). Don"t sover the Referer header for requests to less secure destinations (HTTPS→HTTP., HTTPS→file). origin Send the origin (only) in the Referer header. For example, a document at will sover the referrer origin-when-cross-origin Send the origin, path, and query string when performing a same-origin request to lớn the same protocol cấp độ. Send origin (only) for cross origin requests and requests to less secure destinations. same-origin Send the origin, path, and query string for same-origin requests.

Xem thêm: 01667 Là Mạng Gì ? Đầu Số 0166 0167 0168 096 097 098 Là Của Mạng Gì

Xem thêm: Cách Tìm Địa Chỉ Mac Là Gì? ? Kiến Trúc Mac 802 Phân Biệt Địa Chỉ Mac Và Địa Chỉ Ip Như Thế

Don"t skết thúc the Referer header for cross-origin requests. strict-origin Send the origin (only) when the protocol security màn chơi stays the same (HTTPS→HTTPS). Don"t send the Referer header to less secure destinations (HTTPS→HTTP). strict-origin-when-cross-origin (default) Skết thúc the origin, path, and querystring when performing a same-origin request. For cross-origin requests send the origin (only) when the protocol security level stays same (HTTPS→HTTPS). Don"t send the Referer header lớn less secure destinations (HTTPS→HTTP). lưu ý

This is the mặc định policy if no policy is specified, or if the provided value is invalid (see spec revision November 2020). Previously the mặc định was no-referrer-when-downgrade.

unsafe-url Sover the origin, path, & query string when performing any request, regardless of security. Warning

This policy will leak potentially-private information from HTTPS resource URLs khổng lồ insecure origins. Carefully consider the impact of this web3_setting.

You can also phối referrer policies inside HTML. For example, you can set the referrer policy for the entire document with a element with a name of referrer:

meta name="referrer" content="origin">Or phối it for individual requests with the referrerpolicy attribute on , , , ,