Top

Name

http_acl_get — Test conditions against web server ACL's

Synopsis

integer http_acl_get ( in list_name varchar ,
  in source_ip varchar ,
  in destination_ip_or_host varchar ,
  in object_id integer ,
  in read_write_flag integer );
 

Description

This function can be used within application logic to test that an internet client would not violate the ACL.

Parameters

list_name

a string designating which list to be used for matching

source_ip

a string containing the IP number of client to test against rules

destination_ip_or_host

a string containing the IP number of destination requested by client

object_id

is a integer designating a object to match

read_write_flag

an integer designating action to match

Return Types

The function returns the value of the HA_FLAG of the first matching rule. If no rule matches it returns -1.