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.
Internet Explorer has not exposed the methods/properties required for thistype of control over the interface. The most you can do is hide the menubar; however, the user can bring it back by selecting it from their optionswindow.
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 andthen view it. For confidential information like product costs, etc. youshould plan to manipulate them on the server and then send them to theclient. Depending on your server, you may be able to use Active Serverpages to build templates and generate dynamic output from code running onthe server, which the user would not be able to see.