Discussion Locked

IE Dialogs

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Does anybody know how to gray out the view source,save and save as commands? I want ot handle it from an asp page.

Thanks
Dean

5 replies

by fpc/ns

I don't believe it is possible to disable the View Source, Save, and Save As... commands in IE.

There are ways to make saving a page and viewing the source very difficult though. First, open an instance of IE with no menu or toolbar via JavaScript's window.open command. This will prevent the Save and Save As... commands as no one will be able to see them. It would still be possible to save the page if someone were to load the page in a normal IE window. To make doing that difficult you can load the page into a frameset where there is one frame that is zero pixels and one that is the page in question. To make this work properly you will also have to disable the right-click ability of the mouse (I know it's annoying), I have heard ofa way to disable the click for both IE and NS without the annoying JavaScript. With all that you can pretty much guarantee that only the most determined person with programmign experience will be able to save your source.

by cedric king

You can't modify the setting for the browser. You can only "hide" it via scripting but anyone with the know-hows can still get around it.

This discussion is closed to new replies.