401 Unauthorized strict-origin-when-cross-origin
时间: 2023-09-01 15:12:04 浏览: 209
HTTP 错误401.1 - 未经授权
"401 Unauthorized strict-origin-when-cross-origin" 是一个HTTP状态码和Referrer Policy之间的组合。它表示当跨域请求时,由于权限不足而被服务器拒绝访问。"strict-origin-when-cross-origin"是一种Referrer Policy,它的作用是在同源请求中发送完整的URL作为引用地址,在同等安全级别的情况下,发送文件的源作为引用地址,但在降级的情况下不发送此首部。这种策略是为了保护用户的隐私和安全。当使用这种Referrer Policy时,如果请求由于缺少必要的凭证信息或权限不足而被服务器拒绝访问,将返回401 Unauthorized状态码。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Referrer Policy: strict-origin-when-cross-origin 的解决办法](https://blog.csdn.net/Hello_World_QWP/article/details/126372484)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [【安全】Referer&&XMLHttpRequest部分内容](https://blog.csdn.net/weixin_53428697/article/details/128619641)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文