NAME

HTTP_FILTER_ACCESS_DENIED - data describing request rejection.


SYNOPSIS

 #include "httpfilt.h"
 typedef struct _HTTP_FILTER_ACCESS_DENIED {
   const CHAR * pszURL;           /* Requested URL */
   const CHAR * pszPhysicalPath;  /* Physical path of resource */
   DWORD        dwReason;         /* Bitfield of SF_DENIED_* flags */
 } HTTP_FILTER_ACCESS_DENIED, *PHTTP_FILTER_ACCESS_DENIED;


DESCRIPTION

When an HttpFilterProc is called with NotificationType set to SF_NOTIFY_ACCESS_DENIED, its pvNotification is a pointer to an HTTP_FILTER_ACCESS_DENIED structure.


DATA FIELDS

The read-only strings pszURL and pszPhysicalPath indicate the URL requested and the local filesystem path of the resource to which this corresponds.

The dwReason field is the bitwise `or' of at least one of the following flag values, indicating the reason (or reasons) why access has been denied:

SF_DENIED_LOGON

user/password authentication failure

SF_DENIED_RESOURCE

access controls associated with the resource (e.g. the indicated file is not readable by the web server process, or no such file exists)

SF_DENIED_FILTER

an ISAPI filter rejected the request

SF_DENIED_APPLICATION

the resource refused to honor the request (e.g. the resource was a CGI script or ISAPI extension and rejected the input it was given)

SF_DENIED_BY_CONFIG

the web server is configured to reject the request


SEE ALSO

isapi(7), HttpFilterProc(3), HTTP_FILTER_CONTEXT(5).


FILES

$ZEUSHOME/web/include/httpfilt.h $ZEUSHOME/web/include/wintypes.h $ZEUSHOME/webadmin/docroot/docs/modules/isapi/*.html


COPYRIGHT

Copyright (C) 2000-2001 Zeus Technology Limited. All rights reserved.