| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Tue Feb 13, 2007 4:04 pm Post subject: url authentication help |
|
|
Hi all, i 'm configuring icecast2 server to make an audio stream. We
need an authentication system. I read the icecast documentation and
make some test with the configuration that came in the examples
folders of the icecaste tar (but i installed it through the apt-get in
debian).
I don't know if maybe i doesn't understand the differents types of
authentication. We need some method that make a prompt to the user
with the form (i don't know if this is possible with icecast). At
least, althought it appear with a lock by it side, i still can access
without authentication with the direct url (http://ip:8000/audio). Is
there a way to deny the access to a stream if it is not authenticated?
This is my configuration for the mountpoint en icecast.xml:
<authentication type="url">
<option name="add" value="http://192.168.1.251/icesauth/action.php"/>
<option name="remove" value="http://192.168.1.251/icesauth/action.php"/>
<option name="start" value="http://192.168.1.251/icesauth/action.php"/>
<option name="end" value="http://192.168.1.251/icesauth/action.php"/>
<option name="username" value="user"/>
<option name="password" value="pass"/>
<option name="auth_header" value="icecast-auth-user: 1"/>
</authentication>
Guillermo |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Feb 13, 2007 4:30 pm Post subject: |
|
|
the option name shoule be "listener_add" "listener_remove" "mount_add" "mount_remove". The username/password only need to be specified if there is some static auth for the actual script to run. The auth_header is there is you need to override the default.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Tue Feb 13, 2007 6:14 pm Post subject: |
|
|
Thanks karlH. I copy and paste this from the example of the authentication but i didn't read well.
Now it's working perfect.
Guillermo |
|
| Back to top |
|
 |
|