Wrapping validation right around the tag works works very well.
In this case application.userIPList is a a list with multiple IP's verified
against that of the the users current computer.


<cfif ListFindNoCase(Application.UserIPList,CGI.REMOTE_ADDR)>
 <cfcontent type="application/msword" file="#ExpandPath(file)#"
deletefile="no">
<cfelse>
DOH! You don't have access to this without being from the IP on File. Please
contact support.
</cfif>

Casey


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250397
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