Click here to Skip to main content
13,199,669 members (58,127 online)
Rate this:
Please Sign up or sign in to vote.
I am planning to make a client server application at which client will install a software which will contain 10 to 20 video tutorials each of which will be 5 to 10 minutes in length , what will be the best way to secure those videos , in such a way that no one can use it (Play it) without the client software's embedded media player , what will be the best and reliable process to do it and which tool will be best for it I mean Should I go with WPF or Windows Form ?
Posted 3-Jan-13 7:49am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Let me tell you that this is nasty. I would advise you to think and weight million times before you decide to introduce such a draconian limitation on your users. Think is your video is really that valuable that anyone would want to steal it. :-)

Let me also tell you that, in principle, given enough time, resources and money, and, more importantly, convincing moral and legal justifications of such work, I could personally take a job of picking your media files, no matter how strong encryption you use. Why? Simply because once you already delivered the medial on the client's screen, it's already there.

And finally, how is this related to C#. I guess, you want to develop everything, including your special decrypting player, in .NET. Then let me tell you the final thing: everything which works as a code of .NET assembly can be easily reverse-engineered. Even if the software is protected, especially if it is protected with one of well-known software protection tools or simply obfuscated. And once it is reverse-engineered, the code can even easier be modified into… anything at all: media decryptor, converter into legitimate media or something else.

And mind you, it is not related to your encryption. The encryption may be infinitely hard to break, but nobody will need it: if your special player can play your encrypted media, it can convert it to legitimate formats, actually using the same decryption process you would devise.

So, you have no chance. But you are warned.

Take it easy,
asadullahabkari 4-Jan-13 8:28am
@Sergey Alexandrovich ,
I respect for your concern and good guidance Thank you !
I know that nothing is secure on internet , and my idea is foolish if , i will go for an international product , or international tutorial , actually , i am making this for a small locality , where i suppose they will not have such expertise to decrypt those files , anyways , I thought about the security issues , but I took inspirations from movie producers and directors , that they are victim of piracy but still they are making movies and earning from there target audience ,I took inspirations from software companies , still people are not afraid of piracy they are making movies, softwares, music , even they know they cannot stop Piracy, but they can minimize them by fighting against it .
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

WPF and windows forms are utterly irrelevant. They have nothing to do with videos. What you want to do, is somehow make the videos unplayable, except by the media player. That means you need to write a media player that knows how to decode these videos, and an encoder. Sounds like a lot of work for some video tutorials.
Even this is totally useless. I think I explained it in my answer.
Christian Graus 3-Jan-13 14:20pm
Well, it's a horrible idea. But it would work.
The OP's idea? Yes, it would work against lamers, but not a qualified engineer. No chance; I'll guarantee that.
Christian Graus 3-Jan-13 14:57pm
If the video was encrypted, it would take some work to overcome, but no system is perfect. This one is just stupid though, that's what I was trying to illustrate
Who would argue with that? You are right here... And, perfect... hm... well, way too many systems are way closer to "perfection" that what OP could possibly can. :-)
asadullahabkari 4-Jan-13 8:34am
my idea is to have a vbook , like we have pdf book , in which lessons list is on left side pan in tree view and on right side pan actual book can be scrolled , I want to make same thing on windows form or WPF , on left hand side Lesson Tree view and on right hand side video player but it will be in Encrypted form that it will be only play in that winform not other than any other media player .

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.171020.1 | Last Updated 12 Nov 2014
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100