aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/http/status/403/index.html
blob: 9ad06b2fe54be6383d62ace05217953f6a5752a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
title: 403 Forbidden
slug: Web/HTTP/Status/403
translation_of: Web/HTTP/Status/403
---
<div>{{HTTPSidebar}}</div>

<p>HTTP <strong><code>403 Forbidden</code></strong> 客戶端錯誤狀態碼表示伺服器理解該請求但拒絕核准。</p>

<p>該狀態碼與 HTTP  {{HTTPStatus("401")}} 類似,但重新身分驗證不能提供幫助。 存取被永久性禁止,且與應用程式邏輯有關,如資源的訪問權限不足。</p>

<h2 id="狀態">狀態</h2>

<pre class="syntaxbox">403 Forbidden</pre>

<h2 id="回應範例">回應範例</h2>

<pre>HTTP/1.1 403 Forbidden
Date: Wed, 21 Oct 2015 07:28:00 GMT
</pre>

<h2 id="規範">規範</h2>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Title</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{RFC("7231", "403 Forbidden" , "6.5.3")}}</td>
   <td>HTTP/1.1: Semantics and Content</td>
  </tr>
 </tbody>
</table>

<h2 id="瀏覽器相容性"><a href="https://developer.mozilla.org/zh-TW/docs/Web/HTTP/Status/100$edit#%E7%80%8F%E8%A6%BD%E5%99%A8%E7%9B%B8%E5%AE%B9%E6%80%A7" rel="nofollow, noindex">瀏覽器相容性</a></h2>

<p class="hidden">The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> and send us a pull request.</p>

<p>{{Compat("http.status.403")}}</p>

<h2 id="參見">參見</h2>

<ul>
 <li>{{HTTPStatus("401")}}</li>
</ul>