Given the usual cautions about filtering on ipaddress, something like this 
might help...

<!--- Set list of ip addresses, I guess you'd probably retrieve from a database 
somewhere --->
<cfset iplist="192.168.1.1,192.168.1.2,192.168.1.3,192.168.1.4,192.168.1.5">

<cfif not listcontains(iplist,cgi.remote_addr)>
        <cfabort>or whatever
</cfif> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293412
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to