<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: XBAP &amp; Trust Levels</title>
	<atom:link href="http://scorbs.com/2007/01/10/xbap-trust-levels/feed/" rel="self" type="application/rss+xml" />
	<link>http://scorbs.com/2007/01/10/xbap-trust-levels/</link>
	<description>karen corby's fabulous blog</description>
	<lastBuildDate>Tue, 16 Feb 2010 20:10:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: L.Botha</title>
		<link>http://scorbs.com/2007/01/10/xbap-trust-levels/comment-page-1/#comment-1996</link>
		<dc:creator>L.Botha</dc:creator>
		<pubDate>Wed, 05 Aug 2009 14:17:32 +0000</pubDate>
		<guid isPermaLink="false">http://scorbs.com/2007/01/10/xbap-trust-levels/#comment-1996</guid>
		<description>Hi

I cant get the full trust XBAP to work,I have tried everything,I created the certificate and installed it,but still no luck,I have been struggling with this for over a week now.</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>I cant get the full trust XBAP to work,I have tried everything,I created the certificate and installed it,but still no luck,I have been struggling with this for over a week now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://scorbs.com/2007/01/10/xbap-trust-levels/comment-page-1/#comment-468</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Fri, 18 Jul 2008 15:13:36 +0000</pubDate>
		<guid isPermaLink="false">http://scorbs.com/2007/01/10/xbap-trust-levels/#comment-468</guid>
		<description>Hi Karen
Excellent post!  Can you please elaborate in the first workaround?

“Install an AllowPartiallyTrustedCallersAttribute’d (APTCA) assembly in to the client’s Global Assembly Cache (GAC).  Use this full trust assembly to proxy calls for the XBAP.”

I am working with an xbap application in Visual Studio 2008.  I installed an APTCA assembly in the client’s GAC like you indicated but when I try to run my code I get the following exception:

System.Security.SecurityException: Request for the permission of type &#039;System.Security.Permissions.FileIOPermission

Thanks in advance</description>
		<content:encoded><![CDATA[<p>Hi Karen<br />
Excellent post!  Can you please elaborate in the first workaround?</p>
<p>“Install an AllowPartiallyTrustedCallersAttribute’d (APTCA) assembly in to the client’s Global Assembly Cache (GAC).  Use this full trust assembly to proxy calls for the XBAP.”</p>
<p>I am working with an xbap application in Visual Studio 2008.  I installed an APTCA assembly in the client’s GAC like you indicated but when I try to run my code I get the following exception:</p>
<p>System.Security.SecurityException: Request for the permission of type &#8216;System.Security.Permissions.FileIOPermission</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philipp</title>
		<link>http://scorbs.com/2007/01/10/xbap-trust-levels/comment-page-1/#comment-467</link>
		<dc:creator>Philipp</dc:creator>
		<pubDate>Mon, 14 Jul 2008 04:22:25 +0000</pubDate>
		<guid isPermaLink="false">http://scorbs.com/2007/01/10/xbap-trust-levels/#comment-467</guid>
		<description>Hi Karen,

Thanks for the great post. I have a related question. I have already put a lot of time into coding a Windows Forms control which is hosted in a webpage via the  tag. But I recently wanted to upgrade it with a WPF control so I tried to add an instance of ElementHost to my control. But the ElementHost&#039;s constructor fails with a &quot;Request failed.&quot; exception. I have given my control FullTrust.

Do you know if this is possible? Do I have to assert a security permission? Or must I rewrite the control from scratch as an XBAP?

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi Karen,</p>
<p>Thanks for the great post. I have a related question. I have already put a lot of time into coding a Windows Forms control which is hosted in a webpage via the  tag. But I recently wanted to upgrade it with a WPF control so I tried to add an instance of ElementHost to my control. But the ElementHost&#8217;s constructor fails with a &#8220;Request failed.&#8221; exception. I have given my control FullTrust.</p>
<p>Do you know if this is possible? Do I have to assert a security permission? Or must I rewrite the control from scratch as an XBAP?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alvin B</title>
		<link>http://scorbs.com/2007/01/10/xbap-trust-levels/comment-page-1/#comment-465</link>
		<dc:creator>Alvin B</dc:creator>
		<pubDate>Tue, 20 May 2008 15:17:06 +0000</pubDate>
		<guid isPermaLink="false">http://scorbs.com/2007/01/10/xbap-trust-levels/#comment-465</guid>
		<description>I would like my xbap to write back to the browser accessing the DOM model and Javascript. Reason: My app would now be able to chain events from the XBAP to the browser. Note, this is possible today using managed user controls and the appropriate interfaces so the feature release would not open any hole.</description>
		<content:encoded><![CDATA[<p>I would like my xbap to write back to the browser accessing the DOM model and Javascript. Reason: My app would now be able to chain events from the XBAP to the browser. Note, this is possible today using managed user controls and the appropriate interfaces so the feature release would not open any hole.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guy</title>
		<link>http://scorbs.com/2007/01/10/xbap-trust-levels/comment-page-1/#comment-464</link>
		<dc:creator>Guy</dc:creator>
		<pubDate>Mon, 27 Aug 2007 02:13:44 +0000</pubDate>
		<guid isPermaLink="false">http://scorbs.com/2007/01/10/xbap-trust-levels/#comment-464</guid>
		<description>I&#039;ve got this problem with xbap can anyone figure out what can be wrong and how could it be that xbap work only in anew instance of IE ????

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2057135&amp;SiteID=1

Thank a lot.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve got this problem with xbap can anyone figure out what can be wrong and how could it be that xbap work only in anew instance of IE ????</p>
<p><a href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2057135&amp;SiteID=1" rel="nofollow">http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2057135&amp;SiteID=1</a></p>
<p>Thank a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karen</title>
		<link>http://scorbs.com/2007/01/10/xbap-trust-levels/comment-page-1/#comment-466</link>
		<dc:creator>Karen</dc:creator>
		<pubDate>Tue, 24 Jul 2007 19:55:24 +0000</pubDate>
		<guid isPermaLink="false">http://scorbs.com/2007/01/10/xbap-trust-levels/#comment-466</guid>
		<description>XBAPs are click once applications.  They run as non-admin processes... My suspicion is you&#039;re trying to modify HKCU</description>
		<content:encoded><![CDATA[<p>XBAPs are click once applications.  They run as non-admin processes&#8230; My suspicion is you&#8217;re trying to modify HKCU</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruurd Boeke</title>
		<link>http://scorbs.com/2007/01/10/xbap-trust-levels/comment-page-1/#comment-463</link>
		<dc:creator>Ruurd Boeke</dc:creator>
		<pubDate>Sat, 21 Jul 2007 12:25:43 +0000</pubDate>
		<guid isPermaLink="false">http://scorbs.com/2007/01/10/xbap-trust-levels/#comment-463</guid>
		<description>Hi,

I have a full trust xbap that will run fine. It will throw an exception as soon as it hits code that will modify the registry. I would have thought that having full trust would fix that. ( this if for a corporate intranet application).

Could you give a hint about where to look?

Kind regards,
Ruurd Boeke</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have a full trust xbap that will run fine. It will throw an exception as soon as it hits code that will modify the registry. I would have thought that having full trust would fix that. ( this if for a corporate intranet application).</p>
<p>Could you give a hint about where to look?</p>
<p>Kind regards,<br />
Ruurd Boeke</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karen</title>
		<link>http://scorbs.com/2007/01/10/xbap-trust-levels/comment-page-1/#comment-462</link>
		<dc:creator>Karen</dc:creator>
		<pubDate>Sun, 18 Feb 2007 03:24:15 +0000</pubDate>
		<guid isPermaLink="false">http://scorbs.com/2007/01/10/xbap-trust-levels/#comment-462</guid>
		<description>Brian,

No - VeriSign is a trusted root certification authority.  That means that a user trusts that a cert from VeriSign actually represents the person it says it does.  (Bob gets a cert from VeriSign.  User trusts that the cert is actually Bob&#039;s cert, because it trusts Verisign who issued the cert.)

A user still need to install the cert in to the trusted publishers store for the user in order to trust that publisher.

Hope that made sense!
Karen</description>
		<content:encoded><![CDATA[<p>Brian,</p>
<p>No &#8211; VeriSign is a trusted root certification authority.  That means that a user trusts that a cert from VeriSign actually represents the person it says it does.  (Bob gets a cert from VeriSign.  User trusts that the cert is actually Bob&#8217;s cert, because it trusts Verisign who issued the cert.)</p>
<p>A user still need to install the cert in to the trusted publishers store for the user in order to trust that publisher.</p>
<p>Hope that made sense!<br />
Karen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://scorbs.com/2007/01/10/xbap-trust-levels/comment-page-1/#comment-461</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Tue, 30 Jan 2007 22:21:32 +0000</pubDate>
		<guid isPermaLink="false">http://scorbs.com/2007/01/10/xbap-trust-levels/#comment-461</guid>
		<description>Can I purchase a cert from Verisign and use it to sign my app?  Thereby skipping the step where I need to install a trusted cert in the user&#039;s personal store?</description>
		<content:encoded><![CDATA[<p>Can I purchase a cert from Verisign and use it to sign my app?  Thereby skipping the step where I need to install a trusted cert in the user&#8217;s personal store?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chad Campbell</title>
		<link>http://scorbs.com/2007/01/10/xbap-trust-levels/comment-page-1/#comment-460</link>
		<dc:creator>Chad Campbell</dc:creator>
		<pubDate>Fri, 19 Jan 2007 19:27:56 +0000</pubDate>
		<guid isPermaLink="false">http://scorbs.com/2007/01/10/xbap-trust-levels/#comment-460</guid>
		<description>Great post.  I look forward to XBAP support for WCF.</description>
		<content:encoded><![CDATA[<p>Great post.  I look forward to XBAP support for WCF.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
