Marcin Kamienski
Marcin Kamienski

Reputation: 53

Icecast stream autheticastion inside url

I configured listener authentication according to the manual: https://icecast.org/docs/icecast-2.4.0/auth.html Everything is working, except that I need to be able to pass credentials in URL http://user:[email protected] but Icecast is ignoring it. Yes I know that's a bad way to pass password but that's a working solution and I can't change it.

Upvotes: 0

Views: 839

Answers (2)

Ralf G.
Ralf G.

Reputation: 1

Most browsers mean in this case: All browsers that use the blink engine. Firefox (and I've been told) also some versions of Safari still support it and together with https I also don't see a security risk with that. That's why I currently recommend to use firefox to my users/customers for this specific purpose and if it must be a browser (vlc, mplayer, mpv and most other audio/video player software also support it)

Upvotes: 0

Rusty H
Rusty H

Reputation: 67

Some browsers do not pass the user:password part of the URLs as a security precaution. I confirmed that using Safari for example, the user:pass is not passed on to the host (i.e. Icecast).

You can test this with something like cURL, which will let you pass authentication that way. But most browsers are not allowing those kinds of URLs with embedded authentication.

Upvotes: 0

Related Questions