Protecting an internet-stream

Started by Daxmon, April 20, 2017, 05:31:17 PM

Previous topic - Next topic

Daxmon

Hello,

is there a way to protect an internet-stream ? I'm writing a program that plays streams from an IceCast-server.
This works very well, but the problem is that a user can easily find out the stream url when using a packet-sniffer.
So I was wondering if there's a way to "encrypt" a stream, or to paswordprotect it ?

grtz,

Patrick

Administrator

Hello,

unfortunately I'm not aware about ways to protect an Internet stream: it's likely that this can be only done at server level, but it's just a guess.

Kind Regards

Severino Delaurenti
MultiMedia Soft

timley

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