Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
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

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,
—SA
 
Share this answer
 
Comments
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 .
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.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 3-Jan-13 14:17pm    
Even this is totally useless. I think I explained it in my answer.
—SA
Christian Graus 3-Jan-13 14:20pm    
Well, it's a horrible idea. But it would work.
Sergey Alexandrovich Kryukov 3-Jan-13 14:22pm    
The OP's idea? Yes, it would work against lamers, but not a qualified engineer. No chance; I'll guarantee that.
—SA
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
Sergey Alexandrovich Kryukov 3-Jan-13 15:08pm    
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. :-)
—SA

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900