I'm thinking in implementing something like that for my app, in fact i was thinking about a combination of user/password and a session ticket to validate each user. passing everything through url string.
On 3/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I've been passing my PHP session ID to the server. I just pass it in to the flash as a "GET" argument. i.e. http://my.site.com/myflash.swf?sessid=fc032938a82121.... Flash passes this as an argument: nc.connect("rtmp://myserver/myapp",sessid); And my server looks up the session ID in the database using JDBC. I use database-based sessions which makes this easier - the default file-based implementation is clumsier to interface with. - Aaron -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Rossi Sent: Saturday, March 03, 2007 10:30 AM To: [email protected] Subject: Re: [Red5] Authentication? Check the threads, there has been some recent ones regarding token based authentication. Im going to develop one soon and ill share code. The easiest not so secure way is to authenticate a username / password sent in the connect method ie ns.connect(url, username, password) then u get these via args in the application on the appconnect method. Claudius Ceteras wrote: >> I'm planing on using red5 on a community site for (video) chating and >> message recording. >> >> How can i make sure, that only my applications connect to my >> red5 server? >> Is there an option to set a password? >> >> Or would this be possible by writing serverside code? >> Any hints how this could be implemented - what classes to >> look at etc.? >> > > Come on guys... I can't be the first one thinking about this... > Can anyone shed some light on this, please? > And please don't stone me to death for asking a second time :) > > > Greetings > > Claudius > > > _______________________________________________ > Red5 mailing list > [email protected] > http://osflash.org/mailman/listinfo/red5_osflash.org > > _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
-- ------------------------------------------------------------------- "Nos gusta los domingos ir al parque a pinchar los globos de los niƱos para verlos llorar" .- Eskorbuto
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
