[ You are here: XTF -> Tag Reference -> dynaXML -> Document Request Parser Output Tags -> IP List Authentication Tag ]

IP List Authentication Tag

This variant of the authentication tag is used to provide access to documents based on the user's IP address. This tag provides simple (but not particularly robust) authorization for document access. It has the form:
<auth access="AllowOrDeny" type="IP" list="LocationOfIPList"/>
where
access="AllowOrDeny" specifies whether addresses in the IP list should be allowed access (access="allow") or denied access (access="deny") to the requested document.
list="LocationOfIPList" specifies the path and filename of a list of IP addresses to allow or deny access. If not specified as an absolute path, this path is assumed to be relative to the XTF base install directory (i.e., XTF_HOME.) To learn about the format of the IP List file, see the XTF Deployment Guide.
Note: One or more auth tags must exist in the Document Request Parser stylesheet. These tags will be processed in the order they are encountered until one of them authorizes or denies access. If none of the authentication tags explicitly authorize or deny access, the dynaXML servlet will deny access by default.