Obfuscate Web Page

Is it no way to obfuscate a web page? Is it because browser (and human?) have to interpret the HTML code so everyone can view the source and/or download the files (in)directly?

[Forget the Pre-compilation feature of the ASP.NET v2.0 first] I came across with an interesting tool today - ASPBodyGuard.NET, I tried their demo and it's very interesting! I can't right-click and save an image file, and I also don't understand the HTML source code from my browser directly too. The quick fact of this tool states that encryption and encoding were used to obfuscate a web page by using this tool and the algorithm is quite straighforward... but I have no clue about how can they do that (Please let me know if you know their secret :)

For me, read the source code or obfuscate a web page is not a big deal. Actually I don't mind visitors view my rendered code (but I do understand the importance of JavaScript code and/or image file for control developers or graphic designers). Anyway, my concern is the “performance“ as a whole, maybe the overall page size, overhead, user-friendliness, bandwidth... for my users. :)

Colt Kwong

4 Comments

  • Colt the trick is in the Javascript eval which surely contain the code to decrypt the page.

    Anyway you can still save the page to get the images.

    I will not like to use this for many reasons, performance, browsers compatibility and ... education! In my view HTML should be an open source code and only the business tier (which should be server side) could be proprietary. Well if the last is server side it's not really a problem. I notice also that IE rendering of the page is not perfect, crashing quite often with the sample.

  • Another thing is that if you copy the demo link and try to navigate using seperate browser, it does not work. It gives javascript error.

  • Did you notice that their website does not use their own product?



    They also have pages with huge viewstate, when viewstate isn't needed on that page.



    Makes you wonder how much they are really expers in ASP.NET



  • Silly Rabit, Tricks are For Kids!



    Sorry Colt but it's true.... lots of tricks out there that in the end don't help us a darn bit.

Comments have been disabled for this content.