iFrame URL spoofing – How to Prevent Stream Theft

By Jose Guevara

2 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

Sign up for a 14 Day trial.

Table of Contents

     

    iFrame URL spoofing

    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.

    How to Prevent Stream Theft

    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 14 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 14-Day trial.

    Read Next

    article featured

    How To Use Dacast Browser-based Streaming (WebRTC)

    author avatar

    Samantha Lo

    11 Min Read

    article featured

    How to protect my VODs with DRM in Dacast?

    author avatar

    Dacast Team

    5 Min Read

    article featured

    How to Secure My Content With Signed Keys?

    author avatar

    Harmonie Duhamel

    6 Min Read