I offer a subscription service where users pay $9/month to access 100's of videos. Earlier my videos were uploaded on Wistia and they had a feature of domain access - so only if the videos were accessed from my domain - they would play. If anyone copies the embed code and tries to access it - the video will not play.
I am now in the process of migrating the videos to Google Cloud storage.
The current setup is as follows
- Have created a public access bucket in Google and uploaded all the videos
- Copied the public access mp4 URL of each video and stored in the database.
- When a paid user logs in and accesses the video, the URL is passed on to flowplayer which plays the video.
Issue
Since the Google bucket has public access - the mp4 URL's can be accessed and shared easily. A user can pay $9 for the first month and then view source of the page and get the URL of the mp4 file and download all the 100's of videos and can distribute them freely or upload them on youtube.
Possible Solutions
Can something be done at Google Storage to prevent this. To my earlier question, signed URL's were suggested but they do not resolve this issue. Is there any other option of ACL or CORS that makes the videos secure so that they play only on my website or provide some other form of prevention.
Can something be done programmatically. My site is built on PHP. Can URL's be masked or made difficult to access via source code.
Can something be done through flowplayer. I believe they also have paid versions. Do they provide any form of access security.
I realize if people want they can find numerous tools to download the videos - all I want to do is not show the direct link to mp4 file in the view source code.
Thanks