Solved

How to hide Browser View Source?

Posted on 2008-06-23
4
1,712 Views
Last Modified: 2013-11-26
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.
0
Comment
Question by:Saroj13
  • 2
4 Comments
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 21849775
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
 

Author Comment

by:Saroj13
ID: 21849866
I need some other solution.

second solution will not work as I have .aspx and masterpage
0
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 21849920
apart from the FACT that you cannot effectively hide the html resulting code, why do you want to do that, anyhow?
0
 
LVL 8

Accepted Solution

by:
Chumad earned 500 total points
ID: 21849964
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

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now