On 2/14/08, Douglas Knudsen <[EMAIL PROTECTED]> wrote:
>
> See my earlier  response,  access="remote" != remoting here.   For the
> typical setup of Flex SWF served on same server as CF lives, I never set any
> of the 100+ CFC methods to access="remote", not one, and it all worked fine
> via RemoteObject.

Isn't that because your CF server is configured to allow public and
remote classes to be exposed.

see services-config.xml

<!-- allow "public and remote" or just "remote" methods to be invoked -->
<method-access-level>remote</method-access-level>

This is how you restrict flex remoting calls to "remote" methods only.

The thing that bothered *me* about the default setup (above, including
the comment) is that it allows any remote methods to be called as a
web service.  I prefer to use access="remote" so people can't call my
CFCs via HTTP calls directly.

-- 
Rick Root
New Brian Vander Ark Album, songs in the music player and cool behind
the scenes video at www.myspace.com/brianvanderark

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