<div id="header"><h1><a href="http://bits.blogs.nytimes.com/" title="Go to Bits Home"><img src="http://graphics8.nytimes.com/gfx/blogs/bits/bits_print.png" alt="Bits - Business, Innovation, Technology, Society"></a></h1><div class="ad">
 </div></div><div id="bits"><div align="left"><span class="timestamp published" title="2012-04-06T18:35:32+00:00">April 6, 2012, <span>6:35 pm</span></span><h3 class="entry-title">Hotel’s Free Wi-Fi Comes With Hidden Extras</h3>
<address class="byline author vcard">By <a href="http://bits.blogs.nytimes.com/author/brian-x-chen/" class="url fn" title="See all posts by BRIAN X. CHEN">BRIAN X. CHEN</a></address><div class="entry-content"><div class="w592">
The only visible sign of the extra code on most Web sites is some extra space at the top of the screen, left.</div><p> Justin Watt, a Web engineer, was browsing the Web in his room at the <a href="http://www.marriott.com/hotels/travel/nycmd-courtyard-new-york-manhattan-times-square-south/">Courtyard Marriott</a>
 in Midtown Manhattan this week when he saw something strange. On his 
personal blog, a mysterious gap was appearing at the top of the page.</p><p>After
 some sleuthing, Mr. Watt, who has a background in developing Web 
advertising tools, realized that the quirk was not confined to his site.
 The hotel’s Internet service was secretly injecting lines of code into 
every page he visited, code that could allow it to insert ads into any 
Web page without the knowledge of the site visitor or the page’s 
creator. (He did not actually see any such ads.)</p><p>Mr. Watt <a href="http://justinsomnia.org/2012/04/hotel-wifi-javascript-injection/">posted about the discovery</a> on his blog, and that soon <a href="http://news.ycombinator.com/item?id=3804608">spawned a conversation</a>
 on Hacker News, a discussion site for tech topics, about the ethics of 
this technique. One commenter described it as “icky,” and another asked,
 “Why aren’t they putting ads in my pillow?”</p><p>Mr. Watt had strong 
feelings about it himself. He said in an interview that he had never 
seen an Internet provider modifying Web pages that a person visits. 
“Imagine the U.S.P.S., or FedEx, for that matter, opening your Amazon 
boxes and injecting ads into the packages,” Mr. Watt said.</p><p>A test 
of the Courtyard Marriott’s wireless network on Friday verified Mr. 
Watt’s claims. The code was embedded in the pages of several Web sites 
visited, including Reddit, GigaOM and TechMeme.</p><p>The lines of code 
include references to “rxg,” which stands for Revenue eXtraction 
Gateway, a service aimed at generating money from Internet access 
points. On its Web site, a company called RG Nets, which makes <a href="http://rgnets.com/index.php?page=injection-s1krr">Revenue eXtraction Gateway, explains</a>
 that its system rewrites every Web page on the fly so that it can 
include a banner ad. “As you can see, the pervasive nature of the 
advertising banner on all Web pages guarantees banner advertising 
impression,” a narrator says in the video.</p><p>An online store selling the hardware to provide this service even lists “<a href="http://www.wlanmall.com/rxg-a8-revenue-extraction-hotspot-gateway-for-hotel-and-wisp-1000-user.html">Web experience manipulation</a>” as a feature. It is not clear whether the technology is in use at any other Marriott hotels.</p>
<p>The
 Courtyard Marriott’s marketing director referred inquiries to 
Marriott’s New York office, where a spokeswoman said she would have to 
talk to the national office. The automated phone system for RG Nets 
quickly hung up on calls, and the company did not immediately respond to
 an e-mail.</p><p>Even though this ad-serving system was apparently not 
serving ads, it was the principle of the thing that upset the online 
critics. Mr. Watt said that the technique not only affected people 
browsing the Web, but also the content creators, because they would not 
get a cut of the revenue and their own ads could be blocked.</p><p>“Imagine
 the hotel delivering complementary issues of The New York Times to 
every room, except some articles have been accidentally blacked out, all
 the ads have been cut out, and on every page there’s a new ad that’s 
been stuck on top,” he said.</p></div></div></div><br clear="all"><br>-- <br>Art Deco (Wayne A. Fox)<br><a href="mailto:art.deco.studios@gmail.com" target="_blank">art.deco.studios@gmail.com</a><br>