disqus4u Latest Questions

How can I Protect stream ID from hijacking in Ant Media Server?

inQue
Begginer

The Ant Media embed code comes with with stream key which is not a good security feature as anyone can easily hijack the streams

<iframe width="560" height="315" src="https://myamserver.example/LiveApp/play.html?id=myUniqueStreamID" frameborder="0" allowfullscreen></iframe>

How can I ensure this sensitive stream Key is protected from hijacking?

 

Related Questions

  1. This answer was edited.

    You can use the Publisher IP Filter feature as an added layer of security. This means that whoever has your streamID token can’t push in their own streams on the server. So, only whitelisted IP addresses can publish live streams on the server.

    The Publisher IP Filter can be configured through the application’s advanced settings in the Ant Media web panel.

    allowedPublisherCIDR=10.20.30.40/24,127.0.0.1

    To prevent third-party sites from embedding your streams, then you can use the Nginx reverse Proxy configuration.

     

Leave an answer

Leave an answer