Is Someone Stealing Your Source Code? by Michael SouthonThat's a question that worries many people on
Internet. And some people go to great lengths to hide their source code.
There are several reasons you might want to conceal
source code of your web pages:
=> you have web pages that rank highly in
search engines and you don't want people to see your meta tags
=> you don't want people copying your web page design or java scripts
=> you want to protect your website from email harvesters and other spam utilities
But can you hide your source code?
The short answer is no - to display a web page,
browser has to be able to read
source, and if
browser can read it, so can your visitors.
But there are ways to make it more difficult for your visitors to read your source code. Here are some of them:
(1) Adding dozens of carriage returns at
top of your HTML page
This one has fooled me a couple of times. All you see is a lot of blank space - but just keep scrolling down and you'll find
source code.
(2) Using frames
When you try to view
source code of a page using this technique, all you see is
first ten or fifteen lines of HTML. But just save
page to a folder on your hard disk and then look for a sub-folder where
images in that page were saved to.