| View previous topic :: View next topic |
| Author |
Message |
mohadib
Joined: 18 Mar 2010 Posts: 8
|
Posted: Thu Mar 18, 2010 9:34 pm Post subject: source client authentication |
|
|
Hello,
Is it possible to hook into Icecast authentication of stream sources. I would like to only allow, even if the password is provided, based on some other conditions.
This way a client can stream to me, but they cant start any streams I didnt ask for. Is this possible one way or the other?
Thanks |
|
| Back to top |
|
 |
mohadib
Joined: 18 Mar 2010 Posts: 8
|
Posted: Thu Mar 18, 2010 9:40 pm Post subject: |
|
|
or maybe some sort of one time password. A pass thats good to start one stream, one time only.
Thanks! |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Mar 18, 2010 9:42 pm Post subject: |
|
|
In the post 2.3.2 work, there is an auth url stream_auth setting that can pass off source client authentication to an external script. It works in a similar way to listener_add, it is passed a number of arguments and you script returns an icecast-auth-user header to allow the client to continue.
karl. |
|
| Back to top |
|
 |
mohadib
Joined: 18 Mar 2010 Posts: 8
|
Posted: Thu Mar 18, 2010 9:50 pm Post subject: |
|
|
| great! Thank you. |
|
| Back to top |
|
 |
mohadib
Joined: 18 Mar 2010 Posts: 8
|
Posted: Thu Mar 18, 2010 9:55 pm Post subject: |
|
|
If I checked out from subversion, could I expect something reasonably stable?
Thanks |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Mar 18, 2010 11:36 pm Post subject: |
|
|
yes
karl. |
|
| Back to top |
|
 |
|