MultiMedia Soft forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

SMF - Just Installed!

Author Topic: Protecting an internet-stream  (Read 416 times)

Daxmon

  • Newbie
  • *
  • Posts: 1
    • View Profile
Protecting an internet-stream
« on: April 20, 2017, 05:31:17 PM »

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
Logged

Administrator

  • Administrator
  • Full Member
  • *****
  • Posts: 194
    • View Profile
    • MultiMedia Soft
Re: Protecting an internet-stream
« Reply #1 on: April 20, 2017, 07:15:58 PM »

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
Logged

timley

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Protecting an internet-stream
« Reply #2 on: January 22, 2018, 10:40:06 AM »

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
Logged