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




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:4929
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