I\'m learning Silverlight, and I know that if I master it, I can apply the same
ID: 650896 • Letter: I
Question
I'm learning Silverlight, and I know that if I master it, I can apply the same concepts to WPF, which means I can do either web or desktop development pretty easily. But I've read articles and followed the discussion online, and I understand HTML5 is gaining traction for being cross-platform, and a lot of people seem to be moving to HTML5.
From my understanding, any HTML5 application would be built with HTML and JavaScript (or Flash). But is it secure? It seems like anyone can easily use their browser's "view source" option and grab your code. Is this something I should be worried about, or is there a way to protect against it?
Explanation / Answer
Silverlight will be slightly more "secure" as you are serving compiled code to the client rather than source to be interpreted on the client, but the code is still executed on the client.
Someone determined enough will be able to use reflection etc. to see inside your Silverlight XAP file if they so wish.
However, you will tie yourself up in knots worrying about this. Choose the best technology for your application and provide real value for people not to grab the code. This will depend on your application, but could include regular updates, on-line support, etc. Most people won't want to steal your code and those that are determined will do so anyway.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.