<story><title>Hotel Wifi JavaScript Injection</title><url>http://justinsomnia.org/2012/04/hotel-wifi-javascript-injection/</url></story><parent_chain></parent_chain><comment><author>henryl</author><text>I am a co-founder at a startup that does advertising on WiFi networks. We only run advertising before you connect (when you are in a captive portal), without the use of proxying.&lt;p&gt;Before anyone overreacts to this article, it would be beneficial to understand the hospitality space. The hotel you stayed at is most likely owned by a franchise group and operated by a GM. GMs are responsible for contracting their own networking services with Hotel WiFi Operators such as the one mentioned here. As such, a major hotel brand such as Marriott may use &lt;i&gt;hundreds&lt;/i&gt; of WiFi operators. WiFi operators range in size, managing anywhere between one property to tens of thousands.  The vast majority of these operators do not leverage javascript injection.&lt;p&gt;The ones that resort to proxied ad injection do so because hotel IT is a thin-margin business. WiFi is considered a cost center but is tolerated because it is the number one amenity requested by guests. Operators will sometimes offer a discounted service fee to the hotel GM in exchange for mid-stream ads, although, in this case, it is just as likely that the hotel GM is unaware of this. It is almost absolutely certain that Marriott is unaware of this. Even if they were made aware, the power balance between the brand and the franchisee is not clearly defined with regards to WiFi.&lt;p&gt;As much as I dislike ad injection, it is important to note that public WiFi is &lt;i&gt;never safe&lt;/i&gt; unless you are using a VPN. It is offered as an amenity, one that GMs would be more than happy to get rid of if they could. Unlike with your broadband ISP, you have logged into a privately operated network. You are probably not paying for it. You are subject to their rules. Furthermore, when you signed onto the WiFi network, you most likely had to check a checkbox indicating your agreement to the terms of their network (which no one ever reads). As such, caveat emptor, etc.</text></comment>
<story><title>Hotel Wifi JavaScript Injection</title><url>http://justinsomnia.org/2012/04/hotel-wifi-javascript-injection/</url></story><parent_chain></parent_chain><comment><author>MiguelHudnandez</author><text>There is nothing related to WiFi in this system.  The hotel is running the traffic through a &lt;i&gt;transparent proxy&lt;/i&gt; which is performing MITM &quot;attacks&quot; to disable ads from providers and show their own ads.&lt;p&gt;It is icky for all sorts of reasons.  I suppose an individual website could consider it theft of ad revenue, and an end-user could consider their privacy invaded.</text></comment>