SWF runs on the client, which is not local the server.

  Change access to remote.

Stefan Richter wrote:
> Hello list,
> I'm running a Flex application locally (served from localhost) and connect to 
> a remoting gateway on a remote server. My CFC on that remote server has a 
> function which looks like this:
>       
>       <cffunction name="getRoles" access="public" returntype="Query">
>               <cfquery name="roles" datasource="mydsn">
>                   SELECT * FROM roles 
>               </cfquery>
>               <cfreturn #roles#>
>       </cffunction>
> 
> Note access is set to public, which according to the docs makes this function 
> available 'to a locally executing page or component method'. Why then can my 
> SWF running under localhost connect and retrieve the recordset just fine?
> 
> I know I should be happy that I can hit it (took me long enough to configure 
> SSL remoting...) but I want to secure my application now.
> 
> thanks,
> 
> Stefan


-- 
Jeffry Houser
Flex, ColdFusion, AIR
AIM: Reboog711  | Phone: 1-203-379-0773
--
Adobe Community Expert 
<http://www.adobe.com/communities/experts/members/JeffryHouser.html>
My Company: <http://www.dot-com-it.com>
My Podcast: <http://www.theflexshow.com>
My Blog: <http://www.jeffryhouser.com>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:4930
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to