Now i understando how use beforefilter, but my question is: I had a little big app in flex using amfphp, i had 11 classes inside services folder, but the problem is if any user create a flex app and point the path to my gateway (using absolute path) they can access all my methods.
I need create login, logout methods in all my classes? Exist some way to create those authencation methods in one place and use this for all amfphp requests? Thanks for attention and thanks for the link. --- In [email protected], "danielvlopes" <[EMAIL PROTECTED]> wrote: > > Thanks Muzak, i will try use this code with session in php. ;-) > > > --- In [email protected], "Muzak" <p.ginneberge@> wrote: > > > > See if this helps: > > > http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=2&postId=3201 > > > > regards, > > Muzak > > > > ----- Original Message ----- > > From: "danielvlopes" <danielvlopes@> > > To: <[email protected]> > > Sent: Friday, November 16, 2007 5:21 AM > > Subject: [flexcoders] Re: AMFPHP 1.9 security problem > > > > > > I found this topic in sephirot forum, > > http://www.sephiroth.it/phpBB/showthread.php?t=7966, they said use > > authenticate class in beforefilter amfphp function, i try look on this > > class in my amfphp folder but i don't understand how use... everything > > i found about authenticate in amfphp is for amfphp 1.2 and i using > > 1.9beta 2 . > > > > Anyone can help? > > >

