How to hide Browser View Source?

How to hide view source code from IE browser. code implemented in asp.net and c#. please let me know so that no body can able to see the code.
Saroj13Asked:
Who is Participating?
 
ChumadConnect With a Mentor Commented:
Just echoing what angellll already said - there is no way to hide the source code that renders your HTML. It's simply impossible. You can make it so right clicking and viewing source won't work, but a techy person can easily look in your internet temporary files or simply disable the javascript that makes the "view source" command not work to get around it.
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
you cannot hide the resulting html code. it HAS to be transferred to the computer to be able to display it (this includes client-side javascript, as it has to be executed on the client computer).

anyhow, here some suggestions in "hiding" (obfuscating) the html resulting code:
http://www.jguru.com/faq/view.jsp?EID=444156
http://www.htmlguardian.org/help_main.html
0
 
Saroj13Author Commented:
I need some other solution.

second solution will not work as I have .aspx and masterpage
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
apart from the FACT that you cannot effectively hide the html resulting code, why do you want to do that, anyhow?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.