Videos uploaded on Youtube or any other video streaming website can be easily downloaded by using 3rd party software.
In order to prevent the viewers from sharing the video to unauthorised people. I thought of this solution.
- Encrypt the video file using bash.
- Send the folder using any file sharing service.
- The user will run the bash file in order to decrypt the video.
- The bash script will fetch the key from my server.
- Then it will decrypt the video file and run it.
- When the file will close, the bash script will encrypt it again.
- The key on my server will expire on a specific date.
The users are not very tech savvy to understand what is going on behind the scenes. But this will protect my videos from piracy.
Is there any better solution for what I want to achieve? As this is not a cross platform solution.
EDIT : I am fully aware that it is very simple for a user to read the bash script and fetch the key. I am just trying to create an illusion that the video cannot be copied.