Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
RyanMcGreal
12y ago
0 comments
Share
My understanding is that the server should respond with 401 Unauthorized when someone is attempting to access a resource that requires authentication. What is the case for using 403 instead?
0 comments
default
newest
oldest
daveid
12y ago
OK, 401 makes more sense in that context. But another 403 case would be "the authorized user lacks permission to open resource."
gpvos
12y ago
When they have authenticated (logged on), but they still do not have access to that particular resource (but may have access to others).
j
/
k
navigate · click thread line to collapse