3 ms·
This usage of 403 should be used carefully. It's often (probably usually) the case that you still don't want to expose existence of a resource even to an authen
by eyelidlessness 7y ago
This usage of 403 should be used carefully. It's often (probably usually) the case that you still don't want to expose existence of a resource even to an authenticated user who is not authorized to that resource. It's generally better to return 404 in that case.
- mmerickel 7y agoThe distinction is whether the resource is owned by another tenant or not. Often a user can view a resource but aren't allowed to edit it, at which point 403 is correct. However if it's something owned by another tenant entirely, and is not public, then a 404 is correct.