• Jerkface (any/all)
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 day ago

    I usually treat a path as a series of dereference operations, each with a potential security precondition. You could protect /secure/… with credential checks, and report 403 at that point, before even looking at the rest of the resource path. It exposes the prefix but not the multiple endpoints that might exist below that point.