ns_checkurl - Checks url for authorization
User supplied routine is expected to return OK if authorization is allowed, UNAUTHORIZED if a correct username/passwd could allow authorization, FORBIDDEN if no username/passwd would ever allow access, or ERROR on error.
ns_perm module registers such routine to perform basich HTTP authorization