We help IT Professionals succeed at work.

How can the View Source  be hidden on the Browser

valuesolutions
on
267 Views
Last Modified: 2010-05-18
Hi,

I am working on an asp.net application. I dont want the html source to be visible in the browser. How can I porevent this.

Thanks
Madhu
Comment
Watch Question

Commented:
You can't, AFAIK.

You could use an html obfuscation code or software, that may be able to deceive many too-curious users.
Deepak VasudevanGlobal Traveller
CERTIFIED EXPERT

Commented:
Madhu,

There are no straight forward ways though. You can have a simple webpage with a DIV and the sources can be retrieved via XmlHttpRequest /AJAX.

This way, the actual (possibly confidential) webpages are retrieved dynamically at runtime.

Or you can have such pages as FLash pages.
Senior Performance Engineer
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Commented:
After you have finished the page, take screenshot of the page and put the image of the page on the web server. Actually this is not my idea, but from sfnet.viestinta.www -newsgroup.

:-)
CERTIFIED EXPERT

Commented:
There has been many many discussion about this topic.
This is impossible. The most intereting discussion about this topic I have come across in following link. This is a year old thread but I have saved it permanently in my archive.

https://www.experts-exchange.com/Web/Q_21083892.html

Regards,
---Pinal
Mark GilbertSenior Performance Engineer

Commented:
hi Pinaldave,

I believe that some of the experts on this query have provided valueable explanations to the solution and we would all be interested in this questions disposition.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.