DELAPARRA
Index
Color
NL
Category: HTTP status codes

403 Forbidden

Explained by Updated

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, CC 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
Updated

More HTTP status codes terms

All terms starting with a number or symbol

Skills

Download all skills (zip)

Manuals

Related services

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.