Check access of a method and URL
The Ns_AuthorizeRequest function is used to call the function registered by Ns_SetRequestAuthorizeProc to authorize a user's access to the given method and URL. Possible return values are:
The user's access is authorized.
Access is not public for this method or URL and either the user and password were not verified or the user does not have permission.
There is no possible user/password combination that would give authorization.
The authentication function could not perform the permission check.