iFrame URL spoofing – How to Prevent Stream Theft
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.
Additional Resources
- What is a website referrer?
- How to Set up Domain Control or Geo-Restriction on My Video Content
- How Does Dacast Do Country Restrictions?
- What is an All-Device Player?
- The Ultimate Guide to Referrers and Restrictions
- How to Set Up Security Preferences in Dacast’s New Back Office