<?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>ClickOnce and permission elevation prompting in the internet zone</title><link>http://blogs.msdn.com/saurabh/archive/2006/02/28/540878.aspx</link><description>The Decision - With the .Net Framework V2.0 release of ClickOnce, any ClickOnce App deployed from the internet zone can prompt the user for permission elevation. For the earlier Beta2 release of ClickOnce, prompting had been explicitly disabled for internet</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: ClickOnce and permission elevation prompting in the internet zone</title><link>http://blogs.msdn.com/saurabh/archive/2006/02/28/540878.aspx#540916</link><pubDate>Wed, 01 Mar 2006 03:14:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:540916</guid><dc:creator>dominick</dc:creator><description>Hi, &lt;br&gt;&lt;br&gt;maybe you should have referenced the original blog post to get the full picture.&lt;br&gt;&lt;br&gt;it is here:&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://www.leastprivilege.com/BewareBeAwareOfClickOnceDefaultSettings.aspx"&gt;http://www.leastprivilege.com/BewareBeAwareOfClickOnceDefaultSettings.aspx&lt;/a&gt;&lt;br&gt;&lt;br&gt;cheers&lt;br&gt;dominick</description></item><item><title>re: ClickOnce and permission elevation prompting in the internet zone</title><link>http://blogs.msdn.com/saurabh/archive/2006/02/28/540878.aspx#540929</link><pubDate>Wed, 01 Mar 2006 03:30:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:540929</guid><dc:creator>dominick</dc:creator><description>Ah - btw - you cannot completely disable ClickOnce by zone - even when prompting is set to disabled - apps with certs from the trusted pub folder can elevate.&lt;br&gt;&lt;br&gt;cheers&lt;br&gt;dominick</description></item><item><title>re: ClickOnce and permission elevation prompting in the internet zone</title><link>http://blogs.msdn.com/saurabh/archive/2006/02/28/540878.aspx#540933</link><pubDate>Wed, 01 Mar 2006 03:35:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:540933</guid><dc:creator>Rudolph</dc:creator><description>Jen's scenario is why the policy was meant to eb customizable. I dont think anyone questions that. I think we question why that is being shipped as the default.</description></item><item><title>re: ClickOnce and permission elevation prompting in the internet zone</title><link>http://blogs.msdn.com/saurabh/archive/2006/02/28/540878.aspx#540978</link><pubDate>Wed, 01 Mar 2006 05:05:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:540978</guid><dc:creator>Patrick Hynds</dc:creator><description>I am unconvinced. &amp;nbsp;I think that new technologies (like ClickOnce and .Net) should strive to improve security rather than hide behind bad models that happen to already exist. &amp;nbsp;I think you are hurting the fight to show that MS can do things securely which on many other fronts strong advances have been made.&lt;br&gt;&lt;br&gt;Secure by default should be the mantra, not secure when convenient.&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;Patrick</description></item><item><title>re: ClickOnce and permission elevation prompting in the internet zone</title><link>http://blogs.msdn.com/saurabh/archive/2006/02/28/540878.aspx#540993</link><pubDate>Wed, 01 Mar 2006 05:37:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:540993</guid><dc:creator>Saurabh</dc:creator><description>Dominik Thx for including the post. &lt;br&gt;&lt;br&gt;And yes you can disable &amp;quot;ClickOnce prompting&amp;quot; per zone but NOT &amp;quot;ClickOnce&amp;quot;. Applications signed by Trusted Publishers will still run ...</description></item><item><title>re: ClickOnce and permission elevation prompting in the internet zone</title><link>http://blogs.msdn.com/saurabh/archive/2006/02/28/540878.aspx#541003</link><pubDate>Wed, 01 Mar 2006 05:53:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:541003</guid><dc:creator>Saurabh</dc:creator><description>Hey Rudolph, &lt;br&gt;Jen's scenario is one where if it was a requirement for her friends to apply custom ClickOnce policy before installing her &amp;quot;Hobbyist App&amp;quot;, the scneario would have been a non starter. They would just have decided to not try her app out, prompting &amp;nbsp;her to move to having them just download the exe and run locally.&lt;br&gt;&lt;br&gt;After our Beta2 release we concluded that we were not really adding any security by disabling prompting for internet ClickOnce apps, for it was very easy in for malicious Apps to bring up a prompt anyway. I just use Jen here to bring forth the point that while not really adding to security we were inconvniencing a set of our customers and potentially driving them to make worse security decisions.&lt;br&gt; &amp;nbsp;</description></item><item><title>ClickOnce and Permission Elevation </title><link>http://blogs.msdn.com/saurabh/archive/2006/02/28/540878.aspx#541029</link><pubDate>Wed, 01 Mar 2006 06:52:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:541029</guid><dc:creator>Brad Abrams </dc:creator><description>ClickOnce is a very cool client application delivery system that we shipped in V2.0 of the .NET Framework...</description></item><item><title>Click Once misses the Pit of Success</title><link>http://blogs.msdn.com/saurabh/archive/2006/02/28/540878.aspx#541032</link><pubDate>Wed, 01 Mar 2006 07:02:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:541032</guid><dc:creator>Jason Whittington</dc:creator><description>With all due respect, this completely misses the point. Perhaps you've heard Rico Mariani talk about &amp;quot;the pit of success&amp;quot; which he defines as follows:&lt;br&gt;&lt;br&gt;&amp;quot;The Pit of Success: in stark contrast to a summit, a peak, or a journey across a desert to find victory through many trials and surprises, we want our customers to simply fall into winning practices by using our platform and frameworks. &amp;nbsp;To the extent that we make it easy to get into trouble we fail.&amp;quot;&lt;br&gt;&lt;br&gt;So now look at your scenario. &amp;nbsp;Jen is a .NET enthusiast, enthusiastic to get her software out the door. &amp;nbsp;The path of least resistance (the pit) for Jen is to just specify FullTrust whether she needs it or not. &amp;nbsp; You say &amp;quot;Today...Jen can use ClickOnce to downloaded her App and run in the Intranet sandbox.&amp;quot; but this requires *more work* - Jen has to debug her app in the Intranet zone and do her best to figure out what permissions she needs. &amp;nbsp;Your customers security depends on Jen going the extra mile here. Multiply by a million and once again you train your user base to click OK for everything, rather than seeing a need to press OK as unusual and risky.&lt;br&gt; The pit leads to a less secure environment for everyone, especially my mother-in-law who will click &amp;quot;Yes&amp;quot; on any dialog whatsoever :)&lt;br&gt;&lt;br&gt;Requiring Jen to get a certificate changes the dynamic. As you say, it's a pain for Jen to do that, so the path of least resistance is for Jen to do the right thing with CAS. &amp;nbsp;Jen would learn better security habits and my grandmother would be a little safer. That is much better for your customers, even if it inconveniences Jen.&lt;br&gt;&lt;br&gt;Your argument that following the ActiveX model will lead to wider adoption is specious at best. &amp;nbsp;ActiveX has caused all kinds of problems for Microsoft's customers because one click gives the software carte-blanche on the machine. I think your community would prefer that you start to address this rather than continue down the same road that has brought a lot of the spyware problems to begin with.</description></item><item><title>re: ClickOnce and permission elevation prompting in the internet zone</title><link>http://blogs.msdn.com/saurabh/archive/2006/02/28/540878.aspx#541037</link><pubDate>Wed, 01 Mar 2006 07:27:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:541037</guid><dc:creator>Jason Whittington</dc:creator><description>I forgot to add - I have shown ClickOnce to hundreds of developers over the last year and a half (ever since the MAGEUI days). &amp;nbsp;The audiences I saw were generally pleased when I showed them that ClickOnce refused to install unsigned code coming from the Internet zone. Now I always see some of them rolling their eyes and groaning when I show them this behavior. Several have asked me why I bothered showing them CAS at all if it can be subverted so easily. So I'm not sure the developer community is really that enthusiastic about this particular policy decision. &lt;br&gt;</description></item><item><title>ClickOnce and permission elevation prompting in the internet zone</title><link>http://blogs.msdn.com/saurabh/archive/2006/02/28/540878.aspx#541218</link><pubDate>Wed, 01 Mar 2006 15:53:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:541218</guid><dc:creator>ClickOnce Team Blog</dc:creator><description>Saurabh put together interesting article around this issue.&amp;amp;amp;nbsp; &lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/saurabh/archive/2006/02/28/540878.aspx"&gt;http://blogs.msdn.com/saurabh/archive/2006/02/28/540878.aspx&lt;/a&gt;...</description></item><item><title>re: ClickOnce and permission elevation prompting in the internet zone</title><link>http://blogs.msdn.com/saurabh/archive/2006/02/28/540878.aspx#541488</link><pubDate>Wed, 01 Mar 2006 22:55:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:541488</guid><dc:creator>Saurabh</dc:creator><description>Jason reading through your comment it seems the part where our thinking degresses is this - &lt;br&gt;You believe the inability to prompt for elevation would have forced Jen to build a App that works is the internet sandbox.&lt;br&gt;&lt;br&gt;I am assuming here Jen has doen all the due security deligence and decided the minimum security set App requires is IntrAnet - which is a very realistic assumption for a large set of Apps today.&lt;br&gt;&lt;br&gt;I believe that the inability to prompt for elevation would have taken her down the path of least resistance which was to have her friends downloaded the exe. &lt;br&gt;</description></item><item><title>re: ClickOnce and permission elevation prompting in the internet zone</title><link>http://blogs.msdn.com/saurabh/archive/2006/02/28/540878.aspx#541553</link><pubDate>Thu, 02 Mar 2006 00:27:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:541553</guid><dc:creator>Jason Whittington</dc:creator><description>Saurabh - why are we even talking about Jen and her friends on myspace [err, &amp;quot;MSN Spaces&amp;quot; :) ]? &amp;quot;Jen and her friends&amp;quot; is a largely irrelevant scenario relative to &amp;quot;I want to sell my ClickOnce app to millions of people&amp;quot;. Jen and her friends may think ClickOnce is just a sick cool way to distribute new versions of the Hampster Dance, but they are not going to be driving worldwide adoption of ClickOnce as a commerce technology.&lt;br&gt;&lt;br&gt;Jen is considered trustworthy by her friends. They know Jen so they feel comfortable giving her code a trusted role on their machines. Jen's hippie friends would probably even be willing to add Jen as a trusted CA, at which point Jen can ask for fulltrust no problem. Jen could even send her friends an EXE that does the CA meddling. Her friends would probably be willing to run that EXE, but they're her friends. &amp;nbsp;&lt;br&gt;&lt;br&gt;Once Jen graduates from college and &amp;nbsp;decides to pursue her fortune distributing &amp;quot;Happy Hampster dance: Enterprise Editiont&amp;quot; to a mass audience she's going to find that she can't rely on the world trusting her the way her college friends did. This is as it should be. In the Beta 2 world you forced Jen to grow up a little and pass some minimum bar of trustworthiness / accountability if she wanted internet distribution. &amp;nbsp;You're doing your customers [and Jen's] a favor here by forcing Jen to either live within partial trust or get at least some minimum amount of accountability by using a cert. &amp;nbsp;&lt;br&gt;&lt;br&gt;If she doesn't want to do those things sure she could choose ActiveX or the updater block or write her own but presumably ClickOnce is evolving into a killer technology to where Jen will be at competitive disadvantage if her software doesn't use it. &amp;nbsp;Personally I think the trust story is a big part of that.&lt;br&gt;&lt;br&gt;The reason I object the final bits is that Jen doesn't have to change the habits that worked with her college dorm buddies - she can ask for fulltrust just like she used to do&lt;br&gt;and tell the world to trust her just like her friends do. ClickOnce does little to help protect users in this case, and it gives Jen little incentive to tighten up the sloppy security practices she learned as a hobbiest.</description></item><item><title>ClickOnce Security in .NET 2.0</title><link>http://blogs.msdn.com/saurabh/archive/2006/02/28/540878.aspx#542835</link><pubDate>Fri, 03 Mar 2006 13:08:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:542835</guid><dc:creator>Mike Taulty's Weblog</dc:creator><description /></item><item><title>re: ClickOnce and permission elevation prompting in the internet zone</title><link>http://blogs.msdn.com/saurabh/archive/2006/02/28/540878.aspx#543517</link><pubDate>Sat, 04 Mar 2006 11:49:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:543517</guid><dc:creator>Eric Cosky</dc:creator><description>ClickOnce seems to be great stuff and I'm excited about it. From what I know so far the security behavior seems very similar to what I see from Java applets which is IMHO the right level of prompting. &lt;br&gt;</description></item><item><title>re: ClickOnce and permission elevation prompting in the internet zone</title><link>http://blogs.msdn.com/saurabh/archive/2006/02/28/540878.aspx#545623</link><pubDate>Tue, 07 Mar 2006 23:49:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:545623</guid><dc:creator>SSG</dc:creator><description>I like to think that the unsigned ActiveX debacle was born of naivet&amp;#233;: you're nice guys and you thought everyone else was, too. &amp;nbsp;But by now you should know that this isn't the case and make the same mistake again is unforgivable.&lt;br&gt;&lt;br&gt;You claim that security is paramount to Microsoft, these days, and then you say 'we're just doing the same as we do elsewhere'. &amp;nbsp;You should be striving to be better than you were before, because before, you simply weren't good enough.&lt;br&gt;&lt;br&gt;I'm a .NET developer and I love some of the new stuff in 2.0 but once again, you've let the marketing guys set the rules.</description></item><item><title>re: ClickOnce and permission elevation prompting in the internet zone</title><link>http://blogs.msdn.com/saurabh/archive/2006/02/28/540878.aspx#546049</link><pubDate>Wed, 08 Mar 2006 13:16:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:546049</guid><dc:creator>Nikhil</dc:creator><description>I agree with Jason. You guys should get your priorities sorted out. Security comes before Golf handicaps.</description></item><item><title>re: ClickOnce and permission elevation prompting in the internet zone</title><link>http://blogs.msdn.com/saurabh/archive/2006/02/28/540878.aspx#546054</link><pubDate>Wed, 08 Mar 2006 13:25:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:546054</guid><dc:creator>Steve Rodgers</dc:creator><description>I recall the leaked memo from BillG to all staff a few years ago that sited the company wide security push needed to make the platform usable again after the trojan / virus nightmare so many people have been living in. The fear then was that it would become unusable and that people would move to other platforms if nothing was done about it.&lt;br&gt;&lt;br&gt;I distinctly recall my brother moving to the Mac 2 years ago after he gave up on the instructions I was feeding him to remove spyware from his XP installation.&lt;br&gt;&lt;br&gt;I cannot believe that the interests of the hobbyist take precedence over the security requirements of a global platform. This doesn't strike me as a decision based upon experience. It feels like we're going backwards. CAS was designed to prevent exactly this situation...and by the way...most end users will push the &amp;quot;Run&amp;quot; or the &amp;quot;Yes&amp;quot; button when they see a complex dialog asking them questions about security or trust.&lt;br&gt;&lt;br&gt;Whatever happened to the &amp;quot;Secure by design, secure by default, secure in deployment&amp;quot; mode of thinking? One can only imagine how Michael Howard is feeling about all this.</description></item><item><title>re: ClickOnce and permission elevation prompting in the internet zone</title><link>http://blogs.msdn.com/saurabh/archive/2006/02/28/540878.aspx#546056</link><pubDate>Wed, 08 Mar 2006 13:31:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:546056</guid><dc:creator>Mikey</dc:creator><description>Yep - my aunty wants to publish something on the internet without buying a cert or knowing what CAS is, so we should let anyone publish and prompt the user to run code...&lt;br&gt;&lt;br&gt;If my aunty wants to do this stuff, she should know how to do it properly rather than ClickOnce bypassing basic security concepts like internet vs intranet/trusted vs restricted.&lt;br&gt;&lt;br&gt;Now this has shipped with what outwardly appears to be 'DANGEROUS' default settings, most IT departments will think this is just equivalent to allowing unsigned ActiveX controls. &amp;nbsp;Have I missed the point, or has MS?</description></item><item><title>.NET Resources</title><link>http://blogs.msdn.com/saurabh/archive/2006/02/28/540878.aspx#591366</link><pubDate>Sat, 06 May 2006 11:29:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:591366</guid><dc:creator>mattonsoftware.com</dc:creator><description>The following links to .NET resources have been collated over time with the assistance of colleagues.&amp;amp;amp;nbsp;...</description></item><item><title> Saurabh Pant s Weblog ClickOnce and permission elevation prompting in | Cellulite Creams</title><link>http://blogs.msdn.com/saurabh/archive/2006/02/28/540878.aspx#9712246</link><pubDate>Tue, 09 Jun 2009 06:04:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9712246</guid><dc:creator> Saurabh Pant s Weblog ClickOnce and permission elevation prompting in | Cellulite Creams</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://cellulitecreamsite.info/story.php?id=6350"&gt;http://cellulitecreamsite.info/story.php?id=6350&lt;/a&gt;&lt;/p&gt;
</description></item><item><title> Saurabh Pant s Weblog ClickOnce and permission elevation prompting in | work from home</title><link>http://blogs.msdn.com/saurabh/archive/2006/02/28/540878.aspx#9760346</link><pubDate>Tue, 16 Jun 2009 14:11:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9760346</guid><dc:creator> Saurabh Pant s Weblog ClickOnce and permission elevation prompting in | work from home</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://workfromhomecareer.info/story.php?id=33928"&gt;http://workfromhomecareer.info/story.php?id=33928&lt;/a&gt;&lt;/p&gt;
</description></item><item><title> Saurabh Pant s Weblog ClickOnce and permission elevation prompting in | bar stools</title><link>http://blogs.msdn.com/saurabh/archive/2006/02/28/540878.aspx#9780664</link><pubDate>Fri, 19 Jun 2009 09:36:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9780664</guid><dc:creator> Saurabh Pant s Weblog ClickOnce and permission elevation prompting in | bar stools</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://barstoolsite.info/story.php?id=7830"&gt;http://barstoolsite.info/story.php?id=7830&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>