phantomLine™ — the ultimate stealth

Anti-Code Napping

How to protect your meta tags efficiently from snooping competitors with only two lines of code

As you can see, we have inserted quite a stack of different keywords and meta tags on these pages — much more, in fact, than you would normally do in practice. This was simply for illustration's sake: what it proves is that you can hide as much text as you like with this technique.

But surely this text can't be read by the search engines either?

Updated!

As so often, the answer here is: it depends. While an increasing number of search engines (most notably Inktomi, DirectHit and AOL Netfind) have taken to implementing web browser UserAgents since this tutorial was first written, the vast majority of search engine spiders have not. The latter (including, for example, Google, AltaVista, FAST and Northern Light) will not, therefore, pose any problems.

As for those which do, you might want to submit your pages without this code protection to them first and add it later on, after your pages have been indexed. You may also opt to ignore them altogether as they generally do not give meta tags the same weight as they used to in the past.

BTW: the page you are currently reading uses identical meta tags, header and stealt code as the preceding one.

And now let's divulge the true contents of this page's header and its meta tags:

“So how does it work?”

In a nutshell: every web browser transmits a sort of type identification, technically termed “User Agent”. For example, Netscape's Communicator uses “Mozilla”, while the Microsoft Internet Explorer employs “MSIE” to identify itself, etc.

This user agent is read by the web server and will (usually) be written to the server's log files. Now, have a look at the two code lines marked bold in the box below. (You will also find them in the text box above.)

User Agents

<!--#if expr="\"$HTTP_USER_AGENT\" != /Mozilla|MSIE|Opera|Lynx|WebTV|NCSA Mosaic/" -->

This short italicized text enclosed between the two bold stealth code lines would remain invisible to the following browser types and their clones:
- Netscape/Mozilla
- Internet Explorer
- Opera
- Lynx
- WebTV
- NCSA Mosaic/Spry/Spyglass

<!--#endif -->

All you have to do is copy these two bold lines and enclose the code you wish to protect (e.g. the meta tags in the header section of your document) between them.

The .htaccess File

For this technique to work, you will need to upload a file named “.htaccess” (please note the period/dot at the beginning of the file name!) to your server directory. This can be done via telnet or ftp.

The file should have the following content:

Options Includes +ExecCGI
AddType text/x-server-parsed-html .html

Please note Many web servers will not require the specfication “Includes”, meaning you can omit it altogether. However, since it won't do any harm to keep it in your file, we suggest you do not change the above entry. Thus, should you switch your server some day, you will not have to readjust your .htaccess file.

«Previous Page

Further Points

Style Sheets

Should you wish to make use of external .CSS style sheets, take care to position the pertinent line after the second stealth code line in your page header. (I.e. outside of the stealth code!) Otherwise, your browser will not be able to read your style sheet and your formatting and display paramaters won't be executed.

Java & JavaScript

Should you wish to make use of Java-Applets and/or JavaScript which are to be uploaded together with your weg page, they should be treated similarly to style sheets (see above).

No absolute Security

Please remain aware that while the technique presented here offers an excellent protection against code napping, such protection can never be absolute! Should your competitors make use of a browser type not referenced in your exclusion code — which, while fairly unlikely, is nevertheless possible — or should they employ so called “anti cloaking software” which will spoof some other user agent when accessing your system (e.g. a search engine spider), they may yet get hold of your meta tag codes in spite of all your efforts. It is, therefore, mandatory that you review your server log files regularly to detect unusual or unfamiliar user agents to insert in your exclusion code.

Obviously, this procedure being more or less reactive and passive, you can only act after the damage is done. If you wish to protect your web pages in a more efficient manner, you will have to resort to real, professional phantom page technology, which many experts consider to be the Royal Road to code protection and optimized search engine positioning.

3D Context Delivery

You may wish to check out our fantomas 3D Context Delivery™ service on this.

More info on this topic here

fantomas shadowMaker™ fantomas Software shadowMaker Special Deal The all-powerful 100% automatic Shadow Domain™ generator for effective heavy duty industrial-strength cloaking.

This beauty generates 100% relevant and unique content for your Shadow Domains™, creating an unlimited number of highly optimized unique pages including site maps in fully customizable keyword density and page weight

Then submit them to the search engines and redirect search engine generated human traffic in realtime (i.e. without delay) by search phrase to any URL you wish

fantomInfo About Us Mission Statement Privacy Policy Contact Office Hours

At fantomaster.com we are committed to aiding internet and Web professionals in achieving their goals in today's and tomorrow's increasingly competitive technological environment.

fantomNews Weblog siteFlash: What's New Here? Archive

Read the latest info on our products and services in our fantomNews™ online newsletter focusing on IP delivery (cloaking), search engine optimization, webmaster tricks, etc

fantomProducts Overview Downloads TechSpecs Manuals Price List

Check out our fine product line of webmaster software, Perl and CGI scripts, many of them world time firsts in their class. See our documentation and test our demo versions in real time.

fantomTips FAQs Tutorials Cloaking and IP Delivery Resources Free Content

Our information gold mine: search engine positioning, IP delivery, cloaking technology, search engine spider IPs, FAQs, link popularity, resources and links to boost your web presence.

fantomServices Overview spiderSpy™ Anti-Spam Anti Code Napping Anti-Fraud

Profit from our research and development efforts! Get the world's most comprehensive database of search engine spiders for top notch search engine optimization and traffic analysis.

fantomFreestuff Overview Services Downloads FAQs Tutorials

Giving back to the community: our free cutting edge applications for webmasters and IT professionals. With thousands of downloads per year, we're helping to make the Web a better place.

fantomOrders Overview Ordering Online PayPal Ordering Offline Price List Special Deals

Need we say more?

We offer the industry's widest variety of secure options for payment, download and registration of our products and services. Order online via our state-of-the-art SSL-secured enhanced Apache server or via PayPal

Alternatively, you may order by fax, by email, by phone or by snail mail.

fantomCrew™ Affiliates Overview FAQ Links & Banners Terms Join Up! Member Login

Teaming up with success: excellent established products, lifetime commissions, zero setup fee, enlightened support — if you can make web professionals listen, speak with us and join up!

fantomTech™ OEM Program Overview Contact

The fantomTech™ Mighty Engines OEM Licensing Program offers cutting edge power engines and value added services for software developers and service providers. Full support available.

fantomMedia™ Center Press Releases

Media workers: stay informed and up-to-date by reading our fantomNews™ online newsletter, special press releases and digests. Consult with our world renowned experts.
Interview inquiries welcome.