typedef int (Ns_RequestAuthorizeProc) ( char *hServer, char *method, char *url, char *authuser, char *authpasswd, char *peeraddr ); void Ns_SetRequestAuthorizeProc( char *hServer, Ns_RequestAuthorizeProc *proc );
The AOLserver permissions module calls Ns_SetRequestAuthorizeProc at startup to register its file-based permission system. If your site already has a permission system in place, you could write a C module whose initialization function opens a connected to the existing system and then calls Ns_SetRequestAuthorizeProc to override the permission module's authentication system.