The form doesn't expose anything about the CFC though - all it exposes are the arguments, which is just as 'exposed' as a web service would be, or any method you want people to have remote access to.
======================================================================== === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email : [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Todd > Sent: Monday, August 11, 2003 5:45 AM > To: [EMAIL PROTECTED] > Subject: [CFCDev] > > > > I was digging through the Macromedia "Pollster" application and saw > something that made me cringe. What's everyone's thoughts on > having a form > submit directly to a CFC? > > e.g.: <form action="/someDir/someCFC.cfc?Method=addPoll" > method="post"> > > Seems to me that by exposing the CFC in the form that we're > allowing the > end user to do a view source and "figure things out" -- I > realize that the > CFC is nothing more than a facade to a bigger thing, but > still... we're > exposing the method and CFC to it. Am I the only one > cringing at the thought? > > Thanks, > ~Todd > > > ---------- > Todd Rafferty ([EMAIL PROTECTED]) - http://www.web-rat.com/ > Team Macromedia Volunteer for ColdFusion > http://www.macromedia.com/support/forums/team_> macromedia/ > http://www.devmx.com/ ---------- ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
