HTTP 403 Forbidden
客戶端錯誤狀態碼表示伺服器理解該請求但拒絕核准。
該狀態碼與 HTTP 401
類似,但重新身分驗證不能提供幫助。 存取被永久性禁止,且與應用程式邏輯有關,如資源的訪問權限不足。
狀態
403 Forbidden
回應範例
HTTP/1.1 403 Forbidden Date: Wed, 21 Oct 2015 07:28:00 GMT
規範
Specification | Title |
---|---|
RFC 7231, section 6.5.3: 403 Forbidden | HTTP/1.1: Semantics and Content |
瀏覽器相容性
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
403 | Chrome Full support Yes | Edge Full support Yes | Firefox Full support Yes | IE Full support Yes | Opera Full support Yes | Safari Full support Yes | WebView Android Full support Yes | Chrome Android Full support Yes | Firefox Android Full support Yes | Opera Android Full support Yes | Safari iOS Full support Yes | Samsung Internet Android Full support Yes |
Legend
- Full support
- Full support