blob: 99af0ca04f83b08a858061ec8cb7d214486c60db (
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
50
51
52
53
54
|
---
title: 403 Forbidden
slug: Web/HTTP/Status/403
tags:
- HTTP
- HTTP ステータスコード
- Reference
- クライアントエラー
- ステータスコード
translation_of: Web/HTTP/Status/403
---
<div>{{HTTPSidebar}}</div>
<p>HTTP の <strong><code>403 Forbidden</code></strong> クライアントエラーレスポンスコードは、サーバーがリクエストを理解したものの、認証が拒否されたことを示します。</p>
<p>このステータスは {{HTTPStatus("401")}} に似ていますが、この場合は再認証しても結果は変わりません。アクセスは恒久的に禁止されており、リソースにアクセスする権限が不足しているなど、アプリケーションのロジックに結びついたものです。</p>
<h2 id="Status" name="Status">ステータス</h2>
<pre class="syntaxbox notranslate">403 Forbidden</pre>
<h2 id="Example_response" name="Example_response">レスポンスの例</h2>
<pre class="notranslate">HTTP/1.1 403 Forbidden
Date: Wed, 21 Oct 2015 07:28:00 GMT
</pre>
<h2 id="Specifications" name="Specifications">仕様書</h2>
<table class="standard-table">
<thead>
<tr>
<th scope="col">仕様書</th>
<th scope="col">題名</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="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2>
<p>{{Compat("http.status.403")}}</p>
<h2 id="See_also" name="See_also">関連情報</h2>
<ul>
<li>{{HTTPStatus("401")}}</li>
<li><a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html" rel="noopener">HTTP/1.1: Status Code Definitions</a></li>
</ul>
|