ColdSpring has something like what I want but I thought someone might have
something that uses GetMetaData() and then grabs the calling method and then
checks the access and returns it. I'm just not sure how to do it! I dont
want a framework just for this one task.


On Tue, Jul 20, 2010 at 4:59 PM, denstar <valliants...@gmail.com> wrote:

>
> I'm not 100% sure what you're after, but perhaps ColdSpring's remote
> facade generation stuff would fit the bill?
>
> :Den
>
> --
> Even he, to whom most things that most people would think were pretty
> smart were pretty dumb, thought it was pretty smart.
> Douglas Adams
>
> On Tue, Jul 20, 2010 at 5:07 PM, Tony Bentley wrote:
> >
> > Is it possible to bind a private or package method to any method with
> remote access within a cfc? I want run checks on each request to lock down
> security but not on the application level. I want to automate this procedure
> instead of having to place the call inside of each method.
> >
> > I would use reflection in Java. Any thoughts?
> >
> > Example:
> >
> > <cffunction name="checkSomething" access="remote" returnFormat="JSON">
> > when this is called bind checkForRemoteness()
> > </cffunction>
> >
> > <cffunction name="checkIfRemoteOrPublic" access="private">
> > <cfif logic>
> > <cfabort>
> > </cfif>
> > </cffunction>
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335589
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to