BY said:
Hi Folks.
Quit new to the html side of things here. But my question is, how can I
stop anyone from viewing the html code or copying it in MSIE.
Cheers
Smcd
Age old question, there is only one proper answer: YOU CANNOT!
Simply put, a right-click stopper is dumb, because View > Source works just
as well and isn't blocked by Javascript. So, all you've done is make people
who wanted to see it to start with get more of a satisfaction by finding it.
Secondly, your page gets viewed by person X. The PC person X was on now
contains that file, and it is easily transferable from the Temporary
Internet Files folder to their desktop or elsewhere where a simply text
editor may open it. Again, you've just made people get a good feeling about
finding your code.
If you encode your page it will deter many people, but it will also add a
step to your own writing process. Now you have to edit the unencoded page,
encode it, upload it, and make sure you didn't somehow get rid of the
unencoded page. Decoding a page and finding your code would give a code
copier much more of a good feeling.
And finally, if you have to ask that question you obviously don't have any
new code that would be worth stealing anyways, so it would be dumb.
You'd be better off putting a little note at the bottom: "Made with
Frontpage" and then nobody will try to steal it
Or you can really make it with Frontpage....but your out of the group if you
do that.