簡體   English   中英

Icecast stream url 內的認證

[英]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: hackme@mystream.aac 但 Icecast 忽略了它。 是的,我知道這是傳遞密碼的不好方法,但這是一個有效的解決方案,我無法更改它。

作為安全預防措施,某些瀏覽器不會傳遞 URL 的 user:password 部分。 我確認使用 Safari 為例,user:pass 不會傳遞給主機(即 Icecast)。

您可以使用 cURL 之類的東西進行測試,這樣您就可以通過身份驗證。 但是大多數瀏覽器都不允許那些帶有嵌入式身份驗證的 URL。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM