Yes, but would you know TO do that?

andy 

-----Original Message-----
From: Raymond Camden [mailto:[email protected]] 
Sent: Monday, August 16, 2010 11:30 AM
To: cf-talk
Subject: Re: Preventing use of remote method by other sites


Don't forget you can easily set those headers yourself. I could setup cfhttp
to use that header and hit your resource.


On Fri, Aug 13, 2010 at 3:31 PM, Andy Matthews <[email protected]>
wrote:
>
> Works perfectly Tony. I simplified the conditional tho'
>
> <cfif StructKeyExists(headers,'X-Requested-With') AND 
> headers['X-Requested-With'] EQ 'XMLHttpRequest'>
>
> </cfif>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336297
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to