Live Streaming

iFrame URL spoofing – How to Prevent Stream Theft

By Jose Guevara

4 Min Read

banner image featured
author avatar

Jose Guevara

Jose is a part of the Dacast Customer Onboarding team and started working with the company in 2016. He has vast experience in customer service/engagement and live streaming support.

Table of Contents

    Share this post

    Table of Contents

      You are here:
      < Back

      Honestly, we really recommend using the “JS” embed code instead of the “iframe” embed code and also enable our Referrer Restrictions. This will prevent people from using the JS embed code. 

      This is the best way to prevent theft and piracy as well.

      The JS embed not only helps solve issues surrounding iframe security but has a few other tricks up its sleeve, so to speak. Using Javascript removes the browser compatibility and security issues that have been popping up with iframe embed codes. Meaning that access to the camera portions of the form will no longer be blocked in certain browsers creating a smoother experience in all browsers. 

      One good thing that we would also like to point out is that the JS embed code takes on the styles of the website it is embedded on. It will blend into your website seamlessly by taking on your website’s CSS therefore, allowing your fonts and colors, as well as the whole of the website to be more responsive.

      Alternatively, although we recommend doing the two steps above, you can put your content in a javascript code to block people from doing this:

      <code><script language=”JavaScript” type=”text/javascript”>if (top.location != location) {top.location.href = document.location.href ; } </script></code>

       

      Any questions or need help/access to this feature? Please contact us.

      Not yet a Dacast user, and interested in trying Dacast risk-free for 30 days? Sign up today to get started.

      GET STARTED FOR FREE

      Additional Resources

      author avatar

      Jose Guevara

      Jose is a part of the Dacast Customer Onboarding team and started working with the company in 2016. He has vast experience in customer service/engagement and live streaming support.

      Sign up for a 30-Day trial.

      Read Next

      article featured

      Can I Add Subtitles to Video Content on Dacast?

      author avatar

      Harmonie Duhamel

      3 Min Read

      article featured

      How to Get an M3U8 Live Stream URL Link for Your Live Streaming Channels

      author avatar

      Jose Guevara

      5 Min Read

      article featured

      Does Dacast Support X264 Streaming?

      author avatar

      Harmonie Duhamel

      4 Min Read