Reference number: CH000068
Is it possible to make the HTML source not viewable?
Question:Is it possible to make the HTML source not viewable?
Answer:In short, there is no real method or script for making
standard HTML source code not viewable. You may consider doing any of the
below if they are
concerned about your source code.
- Create the web page in Macromedia
Flash or a similar program. The visitor would need to
download the Macromedia Flash plug-in and would be unable
to view the source code for the flash applet.
- There are various scripts that will disable the right-click
feature, preventing the user from saving images or viewing the
source. However, this will not protect the source code of your
page. For example, Internet Explorer users may still click
"View" and "Source" to view the source
code of the page, or a user could disable scripts and
images can be saved by simply saving the web page to the hard
drive.
- There are several programs that will help scramble your
code, making it difficult (not impossible) to read. Again, this
is not going to prevent someone from viewing your code.
Additional information:
- Information about how to view the source code of a
web page can be found on document
CH000746.
- See document CH000525 for
information about why a web pages source code may not be
viewable.
|
|
| Resolved | Were you able to locate the answer to your questions? |
|
|