[MPlayer-dev-eng] HTTP basic authentication support

Felix Buenemann atmosfear at users.sourceforge.net
Tue Jun 25 03:31:58 CEST 2002


On Monday 24 June 2002 15:14, Kim Minh Kaplan wrote:
> Bertrand Baudet writes:
> > On Sunday 23 June 2002 04:21 pm, Felix Buenemann wrote:
> >> A nice idea would be a -user xxx -pass yyy switch, so a global
> >> user/pass for all following urls can be specified.
>
> According to RFC 2617:
>
>   « The realm value (case-sensitive), in combination with the
>     canonical root URL (the absoluteURI for the server whose abs_path
>     is empty; see section 5.1.2 of [2]) of the server being accessed,
>     defines the protection space. »
>
>   « The protection space determines the domain over which credentials
>     can be automatically applied. If a prior request has been
>     authorized, the same credentials MAY be reused for all other
>     requests within that protection space [...]. Unless otherwise
>     defined by the authentication scheme, a single protection space
>     cannot extend outside the scope of its server. »
>
> So for this kind of cases it could be sufficient to reuse the same
> user/pass pair as in previous URLs.  Of course it would be better to
> also remember the host/realm pair that corresponds to a user/password
> pair.
Yea, but this behaviour doesn't fitin with mplayer's behaviour for global and 
file specific options as introduced some time ago by albei.

> Kim Minh.
-- 
Best Regards,
        Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________



More information about the MPlayer-dev-eng mailing list