As a video publisher you can restrict access to your content by whitelisting domains IP addresses and/or countries.
In uStudio's Playground player builder, you can configure embed restrictions on a player in the built-in Security pane. Embed restrictions effectively restrict video content from being loaded outside of the whitelisted web domains, IP addresses, and/or geo locations by country. If embed restrictions are enabled, only embed codes accessed from whitelisted domains, IP addresses and/or regions will successfully load the video content.
To set up embed restrictions, access the player builder for the video you want to restrict access to. In the Configure section of the player builder, expand the Security section by clicking "+" to reveal three checkboxes: domain, region, or IP. Checking a box creates a field where you can add to the whitelist. After you add each whitelisted item, click the + button to the right of the entry and it will turn green, indicating that it is in effect. After configuring your embed restrictions, be sure to click "Save & Preview" for the restrictions to take effect. Embed restrictions will affect all videos using the same player/published to the same destination, and the three embed restriction types can be used in any combination.
What's the effect of specifying a domain, such as "ustudio.com", as the only allowed domain on the whitelist? Simply put, someone arriving at a video on the ustudio.com website will be able to load the player and watch the video. But if the embed code winds up somewhere else, the player will fail to load because the video can only be viewed when reached on ustudio.com.
You can add multiple allowed domains to your whitelist. In fact, you may need to, because you'll need to consider canonical domains. For example, ustudio.com is NOT the same as www.ustudio.com. To be safe, add both.
Many of uStudio's customers have international reach, and products, services, and regulations can vary greatly by country. If you want a video player to work in one country but not another, you can specify the allowed countries using 2-letter country codes. There is a standard list of such codes defined by the International Organization for Standards (ISO) here - and uStudio honors this standards body in our enforcement. At this time, regions can only be whitelisted by country.
Want video playback ONLY available to viewers connecting from a trusted IP address? Simply list the allowable IP addresses, and prevent playback outside of those whitelisted IPs.
For instance, say you want a potential sponsor or partner to preview a video that's not available in the public domain yet. You can add their IP address to the whitelist to allow them access to the video content. They will not be able to watch the video if they relocate and connect over a non-whitelisted IP. Your IP address can be obtained by going to whatismyipaddress.com.
Removing Whitelisted Items
Whitelisted items can be removed by clicking the X to the right of the entry. If all whitelisted items are being removed from a type of embed restriction, make sure to uncheck the box next to the restriction type. If the box for a restriction type is left checked with an empty whitelist, the video will not be accessible anywhere.
As with everything in the uStudio platform, you can also apply these embed restrictions to a destination via the API, which is especially useful if you have long lists of very specific restrictions. Then you can add them programmatically, without needing to type them in by hand. More information about managing embed restrictions via the API can be found here - https://developer.ustudio.com/embed_restrictions.html (Note: you must be logged into app.ustudio.com to access this page).