Discussion Locked

Protect Source Code

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

I'm using NT4.0 (sp6a) and IIS4.0 for my Web Site. I want to protect my source code on each page from view.

Does any one have some code that I can place into the header in each of my Web pages that will do the following:

In Microsoft Explorer,under the "View" menu item, I would like to de-activate the "Source" line (Grey it out) so that souce code can not be viewed.

Likewise, in Netscape, under "View", it is the "Page Source" line to be greyed out.

Any ideas..??

George

3 replies

by russ werner

You can not block the source code, but there are javascripts that will encript the code. Problem with using these encription javascripts is that you must un-encript the code each time before you can edit it.

This discussion is closed to new replies.