Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,

I need to write a code for encryption of my .swf files in c#, what i basically need is there are my educational contents available in one drive, the contents are in .swf format and i don't want anyone to view this content.

If i want to view this content then it could be viewed only in my application, where decryption of .swf files will be done and will be able to view files on browser in my application.

Please help me out how to make this possible..

Regards,
Krunal Panchal
Posted

1 solution

Not possible. Once your app decrypts the file and starts to play it in a browser (ANY browser), the swf exists as a temporary file on the hard drive in its unencrypted form, and is at that point, availbable for unencumbered use by anyone that knows anything at all about web browsers. You can encrypt the file, and decrypt it, but once the browser starts to play it, you're screwed.

I know this because I had a similar requirement back in 2008. Yea, I actually went so far as to come up with a crapload of code to encrypt/decrypt, and the simple fact is it was a waste of time.
 
Share this answer
 

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