1. [Home](<https://delaparra-services.nl/>) 
1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) 
1. [403 Forbidden](<https://delaparra-services.nl/knowledge-hub/403-forbidden>)

  

Category: HTTP status codes 

# 403 Forbidden

  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    

## What is 403 Forbidden?

 

403 Forbidden: The server understood the request but refuses to authorise it. 403 Forbidden means the server knows who you are but refuses the request. You are logged in, but your account lacks permission for this action or resource. The classic example is a normal user trying to open an admin page, or a customer trying to view another customer's invoice. Logging in again will not help. The permission itself has to change.

 

Definition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)

 

## Frequently asked questions about 403 Forbidden

  

### What should you keep in mind with 403 Forbidden?

 

Permission checks belong on the server, for every request. Hiding a button in the interface is not security, because anyone can send the request directly. In Laravel, policies and gates make these checks explicit and testable. For very sensitive resources, some applications return 404 instead of 403, so they do not even confirm that the resource exists. That choice is deliberate and worth documenting.

 

## At a glance

   CategoryHTTP status codes Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026

 

## More HTTP status codes terms

 

- [304 Not Modified](<https://delaparra-services.nl/knowledge-hub/304-not-modified>) 
- [400 Bad Request](<https://delaparra-services.nl/knowledge-hub/400-bad-request>) 
- [401 Unauthorized](<https://delaparra-services.nl/knowledge-hub/401-unauthorized>) 
- [404 Not Found](<https://delaparra-services.nl/knowledge-hub/404-not-found>) 
- [405 Method Not Allowed](<https://delaparra-services.nl/knowledge-hub/405-method-not-allowed>) 
- [409 Conflict](<https://delaparra-services.nl/knowledge-hub/409-conflict>)

 

[All terms starting with a number or symbol](<https://delaparra-services.nl/knowledge-hub#letter-other>)

 

## Skills

 

- ### HTTP status debugging

 

Use when an HTTP request returns an unexpected status code (4xx or 5xx, or a redirect loop), when a user pastes an error like "419 Page Expired", "422 Unprocessable Content", "502 Bad Gateway" or "CORS error", or when debugging API calls between a frontend and a Laravel/PHP or Node backend. Finds the cause from the status code, headers and logs before changing code.

 [View skill](<https://delaparra-services.nl/skills/http-status-debugging>) [Download zip](<https://delaparra-services.nl/skills/http-status-debugging/download>) 
- ### Authentication & Authorization Implementation Patterns

 

Master authentication and authorization patterns including JWT, OAuth2, session management, and RBAC to build secure, scalable access control systems. Use when implementing auth systems, securing APIs, or debugging security issues.

 [View skill](<https://delaparra-services.nl/skills/auth-implementation-patterns>) [Download zip](<https://delaparra-services.nl/skills/auth-implementation-patterns/download>) 
- ### Laravel OWASP Security

 

OWASP Top 10 security audit and secure coding guidelines for Laravel + React/Inertia.js applications. Use when auditing for vulnerabilities ("run OWASP audit", "security review", "check my app security") or writing secure Laravel code involving auth, payments, file uploads, or API design. Triggers on security-related tasks, payment handling, authentication, or any request to audit a Laravel codeba

 [View skill](<https://delaparra-services.nl/skills/laravel-owasp-security>) [Download zip](<https://delaparra-services.nl/skills/laravel-owasp-security/download>)

 [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/403-forbidden/skills.zip>)

 

## Manuals

 

- [Reading HTTP status codes and debugging API errors](<https://delaparra-services.nl/manuals/http-statuscodes-en-api-fouten>)

 

## Related services

 

- [Custom software and web applications](<https://delaparra-services.nl/services#service-03>)

Perhaps your customers need somewhere to download their invoices, or your staff are managing bookings in a spreadsheet. 
- [AI code review](<https://delaparra-services.nl/services#service-05>)

When you push your new change, I will review your code, help your agent avoid the same mistake again, and get your app ready for deployment.

 

## Need any help?

 

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.

  [Get in touch](<https://delaparra-services.nl/availability>)

[HTML version](https://delaparra-services.nl/knowledge-hub/403-forbidden)
