Stefan, I'm still a Flex newbie but if I understand correctly the reason you have access to public methods is because you are using the flash remoting gateway. The gateway is remotely accessible by your flex program but it invokes your ColdFusion components as if the request were coming from another component on the server.
I could be mistaken. It's happened at least once that I can remember. [Image:Our Hero] David Henry http://ColdFusionPowered.com/ Stefan Richter wrote: > Hello João, > I think you may be mistaken. > > Remote access *includes* public access according to the docs. > # public: available to a locally executing page or component method. > # remote: available to a locally or remotely executing page or > component method, or a remote client through a URL, Flash, or a web > service. > > Note also that this is specified on a function level and not on a > component. All my functions are marked as public, not remote (which is > why I am confused, I don't think I should be able to invoke them from > a SWF running and served from localhost when the CFC is hosted on > another domain on the net). > > Cheers > > Stefan > > > > > > > On 14 Feb 2008, at 20:03, João_Fernandes wrote: > > >> Stephan, if the access level is set to remote only, you shouldn't be >> able to invoke public functions at all. >> Are you sure you are targetting that component and not some other that >> might have the access="remote" somewhere else? >> -- >> >> João Fernandes >> >> http://www.onflexwithcf.org >> http://www.riapt.org >> >> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:4938 Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37
