You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When accessing a resource that does not exist via the /explorer API, we should we return HTTP 403 or HTTP 404. Arguable 403 is more secure, but perhaps misleading... we need to give this some thought.
The text was updated successfully, but these errors were encountered:
adamretter
changed the title
/explorer API returns HTTP 403 forbidden for non-existent resources
Explorer API returns HTTP 403 forbidden for non-existent resources
Sep 22, 2020
I think that if the user is authorized and the resource does not exist then the response should be 404, if the user is not authorized that takes priority and the response should be 403
When accessing a resource that does not exist via the
/explorer
API, we should we return HTTP 403 or HTTP 404. Arguable 403 is more secure, but perhaps misleading... we need to give this some thought.The text was updated successfully, but these errors were encountered: