Thanks for asking!
It's not possible to truly hide your source code -and- publish on the
Web. It is possible to add several degrees of difficulty to the
process.
----------------------------------------------------------------------
Tutorial: Hiding Source Code
----------------------------------------------------------------------
Vortex Design explains why it's so difficult to truly hide source
code. Browsers, in the hands of the unscrupulous, or merely the
curious, provide all the tools necessary to defeat most schemes to
hide source code.
An excerpt: "While it is possible to make it difficult for people to
view your source code, you cannot stop someone who really wants it. It
has been suggested that using javascript to disable right-click or
encrypting the HTML may be effective. It is far more likely that
employing these easily circumvented techniques will only encourage
people to "steal" your code. In all probability, they don't want it
until you tell them they can't have it."
Read the full article at the URL listed. Please note, the first nine
suggestions in the list are tongue-in-cheek, given to humorously
illustrate the difficulty involved.
How to Hide Your HTML Source
http://www.vortex-webdesign.com/help/hidesource.htm
----------------------------------------------------------------------
Javascript (Freeware)
----------------------------------------------------------------------
Hotscripts.com offers a freeware Javascript entitled Hide Your Source
Code. The javascript comes with a tutorial and installation
instructions.
Hotscripts.com
Javascripts>Security>HideSourceCode
http://www.hotscripts.com/Detailed/15578.html
More Info from Developer (CGI Script Net)
http://www.cgiscript.net/cgi-script/csNews/csNews.cgi?database=js_misc%2edb&command=viewone&id=60
----------------------------------------------------------------------
Obfuscators
----------------------------------------------------------------------
Web Reference provides a list of Obfuscators and Optimizers for
various types of web coding:
Web Reference.com
Obfuscators and Optimizers
http://www.webreference.com/programming/optimize/
----------------------------------------------------------------------
Blank Lines
----------------------------------------------------------------------
Additionally, some web pages simply use blank lines to disguise their
code from casual borrowers. This generally doesn't affect the display
or indexing in any way, however, it's been discounted as a method that
is "too simple".
Google Search Terms:
----------------------------------------------------------------------
hide html source
hide html source javascript
html obsfucation
Should you have questions about the materials or links provided,
please, feel free to ask.
---larre |