HTTP 403

HTTP 403

The 403 Forbidden HTTP status code indicates that the client was able to communicate with the server, but the server doesn't let the user access what was requested.

An example of descriptive English text that can often accompany such a response is "You don't have permission to access /foo on this server."

This indicates a fundamental access problem, which may be difficult to resolve, because the HTTP protocol allows the Web server to give this response without providing any reason at all. So the 403 error is equivalent to a blanket 'NO' by your Web server - with no further discussion allowed, and according to the RFC specifications, with a 403 error code, the request should not be repeated.

This response may indicate a resource that requires authentication, such as basic access authentication or digest access authentication through the Authorization request header, or some other form of authentication which is managed through user scripts in a programming language such as PHP. However, this use is incorrect, as the HTTP specification states that 403 should only be used when authorization will not help. The 401 Unauthorized code is a better choice for this situation.

This response is returned by the Apache web server when directory listings have been turned off. Microsoft IIS responds in the same way when Active Directory listings are denied.

ee also

*List of HTTP status codes
*Rewrite engine
*htaccess


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • HTTP 403 — …   Википедия

  • HTTP 404 — HTTP Постоянное соединение · Сжатие · HTTPS Методы OPTIONS · GET · HEAD · POST · PUT · DELETE · TRACE · CONNECT · PATCH Заголовки Cookie · ETag · Location · Referer DNT · X Forwarded For …   Википедия

  • HTTP 404 — For broken links in Wikipedia, see Wikipedia:Link rot HTTP Persistence · Compression · HTTPS Request methods OPTIONS · GET …   Wikipedia

  • 403 — For the cars, see Peugeot 403 and Bristol 403. : For the HTTP status code, see HTTP 403. yearbox in?= cp=4th century c=5th century cf=6th century yp1=400 yp2=401 yp3=402 year=403 ya1=404 ya2=405 ya3=406 dp3=370s dp2=380s dp1=390s d=400s dn1=410s… …   Wikipedia

  • HTTP — Название: Hypertext Transfer Protocol Уровень (по модели OSI): Прикладной Семейство: TCP/IP Создан в: 1992 г. Порт/ID: 80/TCP Спецификация …   Википедия

  • 403 (число) — 403 четыреста три 400 · 401 · 402 · 403 · 404 · 405 · 406 Факторизация: 13×31 Римская запись: CDIII Двоичное: 110010011 Восьмеричное: 623 Шестнадцатеричное: 193 …   Википедия

  • HTTP cookie — HTTP Persistence · Compression · HTTPS Request methods OPTIONS · GET · HEAD · POST · PUT · DELETE · TRACE · CONNECT Header fields Cookie · ETag · Location · Referer DNT · …   Wikipedia

  • HTTP — (Hypertext Transfer Protocol) Familie: Internetprotokollfamilie Einsatzgebiet: Datenübertragung, Hypertext u. a. Port: 80/TCP HTTP im TCP/IP‑Protokollstapel: Anwendung HTTP Transport …   Deutsch Wikipedia

  • HTTP-Anfrage — HTTP (Hypertext Transfer Protocol) Familie: Internetprotokollfamilie Einsatzgebiet: Datenübertragung, Hypertext u. a. Port: 80/TCP HTTP im TCP/IP‑Protokollstapel: Anwendung HTTP Transport …   Deutsch Wikipedia

  • HTTP-Request — HTTP (Hypertext Transfer Protocol) Familie: Internetprotokollfamilie Einsatzgebiet: Datenübertragung, Hypertext u. a. Port: 80/TCP HTTP im TCP/IP‑Protokollstapel: Anwendung HTTP Transport …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”