[ Table Of Contents | Keyword Index ]

ns_checkurl(n) 4.99 "NaviServer Built-in Commands"

NAME

ns_checkurl - Checks url for authorization

TABLE OF CONTENTS

    TABLE OF CONTENTS
    SYNOPSIS
    DESCRIPTION
    COMMANDS
    KEYWORDS

SYNOPSIS

ns_checkurl method url authuser authpasswd ?ipaddr?

DESCRIPTION

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

COMMANDS

ns_checkurl method url authuser authpasswd ?ipaddr?

KEYWORDS

ns_perm , ns_requestauthorize