[vlc-devel] [streaming] RTSP server, authentication

tomas at tuxteam.de tomas at tuxteam.de
Mon Feb 8 14:45:35 CET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Feb 08, 2010 at 02:01:10PM +0100, Rémi Denis-Courmont wrote:
> 
>    Hello,
> 
> On Mon, 8 Feb 2010 13:30:02 +0100, tomas at tuxteam.de wrote:
> > My approach (which I'd like to discuss here) would be to insert some
> > simple hooks (at the point of authentication and may be at the point of
> > session teardown) which call into some plugin-registered functions doing
> > the actual legwork (in my case, they'd do a lookup against a database).

[...]

> If you need to look into a database, then you should provide a new plugin
> class indeed. I would rather not see hard-coded SQL (or whatever) queries
> in the HTTP daemon (whose code is already messy enough).

Totally agreed (not about the mess part, but about doing the auth work
in a separate plugin).

> You probably need to modify the httpd code. If I recall correctly, it
> currently expects a single user/pass pair for a given URL.

Yes, this much I understood reading the code (src/network/httpd.c)

>                                                               Note that
> vlc-devel at v.o is a more appropriate mailing list in this case.

Thanks, Rémy -- setting the followup appropriately. I'll come around with
a more concrete proposal in the next days.

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFLcBV/Bcgs9XrR2kYRAmSTAJ0Uq+3PhJW1/vpB93iVPA2TTkLiZwCfUCrW
byfddzF2nb4tmnR5wT3IQ4Q=
=hkEp
-----END PGP SIGNATURE-----



More information about the vlc-devel mailing list