Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Obfuscating Silverlight XAP

I am wondering any efficient way to hide our Silverlight code. I know there are some obfuscators available but it looks like people can hack that too. Anybody have any success on this front?

like image 711
Jobi Joy Avatar asked Jul 16 '26 22:07

Jobi Joy


1 Answers

Pragma No-Cache on the page hosting the silverlight application will prevent the the browser from caching the xap, instead it will read it by streaming from the web server. That will make it harder for peeps to get the xap. Obfuscation will make it harder still.

Also make sure the app is hosted in https, have authentication take place outside the main application. This way the xap stream is encoded on the way down.

like image 198
Brian Leahy Avatar answered Jul 18 '26 17:07

Brian Leahy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!