That would be REALLY tricky, and it's not even the main problem. If you could disable view source, there are only a small number of people who could get around that... but every single one of them is EXACTLY the person you would wouldn't want to have it. There's not real way to mask your HTML from someone. Server side code you can. It lives on the server and there are defined procedures and best practices to keep things that are important away from people trying to break in. Think of server side code as a painting on your wall at home. There are all kinds of things you can do to make your painting secure in your home and keep someone from stealing or destroying it. An HTML page on the other hand is a painting that you take down to the local outdoor park. Anyone can see and do anything with it. When the server send the HTML page to your visitors browser, you've revealed all that information. Whatever you do to try to hide it, can be broken with a fraction of the effort you put in. If you're concerned about your work being stolen, the typical best practice is to place a copyright statement in the code. Beyond that, it's like trying to bail water with a sieve.
-------------------------
Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe
When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper
Chroniclemaster1, Founder of
www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.