Hello, João_Fernandes wrote: > So why to put that in there if all public methods accessible? And what > 'remote' does then? >
There seems to be some confusion about what end is being talked about Flex or ColdFusion. With a ColdFusion CFC the definitions mean: private: only available to other functions within the same CFC public: available to any calling CF entity in the same website/domain remote: available as a web service to any http caller Flash Remoting gateway is a CF-specific engine to allow Flash to talk directly to a CFC. The CFC thinks it is being called from a local CF template. So if you connect from a Flex application using the default Flash Remoting the CFCs can be seen if they are set to "public". If you connect as a web service then "public" CFCs cannot be seen, they have to be set to "remote". From a security perspective this means that you have to have appropriate security in your public CFCs as well as your remote CFCs if they can be called from a Flash Remoting Gateway. Does that make sense? -- Kym Kovan, Technical Support, mort bay communications [EMAIL PROTECTED] +61.2 9559 2629 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:4945 Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37
