In this guide we will show you how to create a privacy profile and apply it to your StreamShark Event.
Note: This guide is for customers on Business and higher plans.
1. Introduction
StreamShark's Privacy Profiles feature provides a range of options for restricting access to the content of a live event and related archives/on-demand content. You can use this feature to restrict access in the following ways:
- Whitelist or Blacklist countries
- Single Sign On (SSO) protection
- Shared Password protection
- IP restriction
- Referrer restriction
- Operating System restriction
- Whitelist email addresses.
- Combining some of the above options via OR and AND logical operators for protecting events.
2. Creating a Privacy Profile
In this example, we will create a Privacy Profile to protect a StreamShark Seminar (event being live streamed). Let's assume the requirements are that the live stream should be embedded only on the StreamShark website and only a select list of email addresses (i.e. registered attendees) must be able to access the live stream in the United States. Note: The list of email addresses must already be uploaded to a Viewer Group using StreamShark's Viewer Management feature (refer to the guide, here).
Navigate to Privacy Profiles in the side menu. Click on the Add button and enter the Privacy Profile Title "Referrer Country Email Restriction". Now, we will add the first privacy rule for referrer embed restriction. For Filter 1, select "Referrer" from the dropdown list, next select the modifier which matches your use-case e.g. 'contains or exactly matches' and then enter the URL you wish to restrict your player to.
Click on the AND logical operator button to add the second privacy rule for Country restriction. Select "Country" and "Exactly Match" from the dropdown lists. Next, start entering the country name and you'll notice the search will populate with country options. Select your preferred country. If you have a list of country codes, you can upload the list. In this example, we've selected "United States of America".
For restricting via Email, we first used StreamShark Viewer Management to create a Viewer Group called "Seminar" and add a list of email addresses (refer to the guide, here). To add the third privacy rule, click on AND and Select "Viewer Group" and "Exactly Match". You'll see a list of viewer groups appear. Select the "Seminar" viewer group. Now, click on SAVE.
You'll see the "Referrer Country Email Restriction" Privacy Profile has been added to the list of profiles.
3. Applying Privacy Profile to an Event
You can apply the new privacy profile to a StreamShark Event. Navigate to the Streaming Event side menu and Add a new Event or Edit an existing Event. In the Advanced Settings section, set the Privacy Settings toggle to "ON". For Access Control select "Privacy Profile" and then select Profile as "Referrer Country Email Restriction". Click SAVE and the privacy profile will be applied to your Event and the live stream will be protected via referrer embed restriction and only the registered viewers in the US can watch the event.
4. Other Types of Privacy Profiles
You can leverage the Privacy Profile feature to create many different types of profiles. For example, as shown below, you can create a Privacy Profile for an event which restricts access to "SSO" groups and also applies embed restriction to www.streamshark.io.