<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Beware Cookie Sharing in Cross-Zone Scenarios</title><link>http://blogs.msdn.com/b/ieinternals/archive/2011/03/10/internet-explorer-beware-cookie-sharing-in-cross-zone-scenarios.aspx</link><description>Note: I mentioned this problem before ( Troubleshooting Login Cookies #3 ) but it was buried in a long post and this is an issue that lots of folks inside Microsoft hit, so I&amp;rsquo;m pulling it out into its own post. 
 The Problem 
 From time to time</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Beware Cookie Sharing in Cross-Zone Scenarios</title><link>http://blogs.msdn.com/b/ieinternals/archive/2011/03/10/internet-explorer-beware-cookie-sharing-in-cross-zone-scenarios.aspx#10303391</link><pubDate>Wed, 09 May 2012 18:52:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10303391</guid><dc:creator>Brian J. Sayatovic</dc:creator><description>&lt;p&gt;I think I encountered an even stranger case of this. &amp;nbsp;I have a Silverlight application that runs in the browser. &amp;nbsp;The HTML page hosting the &amp;lt;object/&amp;gt; tag, and the XAP file it points to, is all delivered via &lt;a rel="nofollow" target="_new" href="http://launch.mydomain.com"&gt;http://launch.mydomain.com&lt;/a&gt;. &amp;nbsp;Once launched, the Silverlight application uses WCF to &lt;a rel="nofollow" target="_new" href="httpS://service.mydomain.com"&gt;httpS://service.mydomain.com&lt;/a&gt; except for displaying PDF documents which is does by popping a window open to &lt;a rel="nofollow" target="_new" href="httpS://service.mydomain.com"&gt;httpS://service.mydomain.com&lt;/a&gt; with a GET request. &amp;nbsp;Now the cookie in question is delivered in the HTTP response header to one of the WCF calls to &lt;a rel="nofollow" target="_new" href="httpS://service.mydomain.com"&gt;httpS://service.mydomain.com&lt;/a&gt;. &amp;nbsp;Depending on whether the page that delivered hosted the &amp;lt;object/&amp;gt; tag in the first place is in the same security zone affects the delivery of the cookie. &amp;nbsp;On the one hand, I get it. &amp;nbsp;But on the other hand, the cookie was both delivered and attempting to be re-sent to one zone -- the zone of &lt;a rel="nofollow" target="_new" href="httpS://service.mydomain.com"&gt;httpS://service.mydomain.com&lt;/a&gt;. &amp;nbsp;But, in IE9 at least, the zone of the page hosting the Silverlight control still impacted the function.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10303391" width="1" height="1"&gt;</description></item><item><title>re: Beware Cookie Sharing in Cross-Zone Scenarios</title><link>http://blogs.msdn.com/b/ieinternals/archive/2011/03/10/internet-explorer-beware-cookie-sharing-in-cross-zone-scenarios.aspx#10277936</link><pubDate>Mon, 05 Mar 2012 20:42:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10277936</guid><dc:creator>Vinod</dc:creator><description>&lt;p&gt;Will wininet use the cookie in the request when i have a Referrer set in a different domain that is loading in Internet zone?&lt;/p&gt;
&lt;p&gt;Sample request:&lt;/p&gt;
&lt;p&gt; - Http: Request, GET http://intranetsite&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Command: GET&lt;/p&gt;
&lt;p&gt; &amp;nbsp;+ URI: http://intranetsite&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Accept: &amp;nbsp;*/*&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Referer: &amp;nbsp;&lt;a rel="nofollow" target="_new" href="http://internet.site.com"&gt;http://internet.site.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Cookie: &amp;nbsp;cookieset &lt;/p&gt;
&lt;p&gt;Does Referrer really matter to set a cookie?&lt;/p&gt;
&lt;p&gt;From my analysis, i see the cookie is used when either protected mode is turned on/off in both the zones. &lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10277936" width="1" height="1"&gt;</description></item><item><title>re: Beware Cookie Sharing in Cross-Zone Scenarios</title><link>http://blogs.msdn.com/b/ieinternals/archive/2011/03/10/internet-explorer-beware-cookie-sharing-in-cross-zone-scenarios.aspx#10216455</link><pubDate>Mon, 26 Sep 2011 04:24:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10216455</guid><dc:creator>Aaron Margosis</dc:creator><description>&lt;p&gt;Re this statement: &amp;nbsp;&amp;quot;users may view all of their Zone assignments by clicking Tools &amp;gt; Internet Options &amp;gt; Security &amp;gt; Trusted &amp;gt; Sites….&amp;quot; &amp;nbsp; It becomes more complicated if there are group policies dictating that only machine settings are used, and/or group policy dictates one or more site-to-zone-assignment lists. &amp;nbsp;See&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.technet.com/b/fdcc/archive/2011/09/22/internet-explorer-s-explicit-security-zone-mappings.aspx"&gt;blogs.technet.com/.../internet-explorer-s-explicit-security-zone-mappings.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.technet.com/b/fdcc/archive/2011/09/22/iezoneanalyzer-v3-5-with-zone-map-viewer.aspx"&gt;blogs.technet.com/.../iezoneanalyzer-v3-5-with-zone-map-viewer.aspx&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10216455" width="1" height="1"&gt;</description></item><item><title>re: Beware Cookie Sharing in Cross-Zone Scenarios</title><link>http://blogs.msdn.com/b/ieinternals/archive/2011/03/10/internet-explorer-beware-cookie-sharing-in-cross-zone-scenarios.aspx#10188938</link><pubDate>Fri, 22 Jul 2011 13:44:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10188938</guid><dc:creator>EricLaw [MSFT]</dc:creator><description>&lt;p&gt;@Anshu: If the pages are in the same zone (as described in this article), then&amp;nbsp;yes, the insecure cookie will be sent to the secure subdomain by IE only. See Q3 at &lt;a href="http://blogs.msdn.com/b/ieinternals/archive/2009/08/20/wininet-ie-cookie-internals-faq.aspx" rel="nofollow" target="_new"&gt;blogs.msdn.com/.../wininet-ie-cookie-internals-faq.aspx&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10188938" width="1" height="1"&gt;</description></item><item><title>re: Beware Cookie Sharing in Cross-Zone Scenarios</title><link>http://blogs.msdn.com/b/ieinternals/archive/2011/03/10/internet-explorer-beware-cookie-sharing-in-cross-zone-scenarios.aspx#10188868</link><pubDate>Fri, 22 Jul 2011 09:07:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10188868</guid><dc:creator>Anshu</dc:creator><description>&lt;p&gt;I want to know if we redirect from HTTP to HTTPS, should IE send the session cookie with HTTPS request?&lt;/p&gt;
&lt;p&gt;Host: mpcb.mu (for HTTP)&lt;br /&gt;Host: secured.mpcb.mu (for HTTPS)&lt;/p&gt;
&lt;p&gt;Here are the cookie attributes set from the server:&lt;/p&gt;
&lt;p&gt;Set-cookie: JSESSIONID=4E8CEB2926EFD; Path=/ ; HttpOnly&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10188868" width="1" height="1"&gt;</description></item></channel></rss>