dcsimg
Login | Register   
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Tip of the Day
Language: Active Server Pages (ASP)
Expertise: Beginner
Mar 18, 1997

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


How do you Disable the 'View Source Code' in IE?

Question:
There has got to be a way to disable the 'view source' feature of IE. People can freely view passwords or product cost information if it's included in your source.

Answer:
Internet Explorer has not exposed the methods/properties required for this type of control over the interface. The most you can do is hide the menu bar; however, the user can bring it back by selecting it from their options window.

In general, you should assume that any data sent to the user can be viewed. The user, if unable to view the source, might save your file locally and then view it. For confidential information like product costs, etc. you should plan to manipulate them on the server and then send them to the client. Depending on your server, you may be able to use Active Server pages to build templates and generate dynamic output from code running on the server, which the user would not be able to see.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date