Hi,
In order to protect an internet stream you will, as Severino has mentioned, do this at the streaming server side.
If you're running Icecast, you can setup stream authentication. When a listener tries to stream, Icecast calls your script with some parameters. You can choose to accept or deny the request based on your business logic. You could use a username and password, IP address, some kind of cookie checking, etc.
Good luck.
Tim
In order to protect an internet stream you will, as Severino has mentioned, do this at the streaming server side.
If you're running Icecast, you can setup stream authentication. When a listener tries to stream, Icecast calls your script with some parameters. You can choose to accept or deny the request based on your business logic. You could use a username and password, IP address, some kind of cookie checking, etc.
Good luck.
Tim