403

HTTP 403 Forbidden

4xx Client Error

  1. Home
  2. > HTTP Status Codes >
  3. > 4xx >
  4. 403
4xx Client Error RFC 7231, Section 6.5.3

What is HTTP 403 Forbidden?

The 403 (Forbidden) status code indicates that the server understood the request but refuses to authorize it. Unlike 401, the client's identity is known to the server, but the client does not have the necessary permissions. The server may include an explanation in the response body, but often returns a generic message for security reasons.

Common Use Cases

  • Accessing a resource without sufficient permissions
  • IP address blacklisting
  • Directory listing disabled
  • CSRF token validation failure
Help2Code Logo
Menu