<?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>All About Assert Part I: What Assert Actually Does</title><link>http://blogs.msdn.com/shawnfa/archive/2004/08/23/219155.aspx</link><description>There are several common misconceptions about the Assert stack modifier, not the least of which are: Assert changes an assembly's permission grant Assert is just a perf optimization You don't need the permissions that you're Asserting in order to effectively</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>All About Assert Part II: What Assert Is Good For</title><link>http://blogs.msdn.com/shawnfa/archive/2004/08/23/219155.aspx#219726</link><pubDate>Tue, 24 Aug 2004 23:35:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:219726</guid><dc:creator>.Net Security Blog</dc:creator><description /></item><item><title>All About Assert Part II: What's Assert Good For</title><link>http://blogs.msdn.com/shawnfa/archive/2004/08/23/219155.aspx#219727</link><pubDate>Tue, 24 Aug 2004 23:35:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:219727</guid><dc:creator>.Net Security Blog</dc:creator><description /></item><item><title>All About Assert Part III: Dispelling the Myths</title><link>http://blogs.msdn.com/shawnfa/archive/2004/08/23/219155.aspx#220462</link><pubDate>Wed, 25 Aug 2004 23:22:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:220462</guid><dc:creator>.Net Security Blog</dc:creator><description /></item><item><title>re: All About Assert Part I: What Assert Actually Does</title><link>http://blogs.msdn.com/shawnfa/archive/2004/08/23/219155.aspx#220744</link><pubDate>Thu, 26 Aug 2004 06:05:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:220744</guid><dc:creator>Eric Newton</dc:creator><description>So, if I'm a hacker... just call Assert with FullTrust then I can do anything?&lt;br&gt;&lt;br&gt;There goes CAS?&lt;br&gt;&lt;br&gt;Am I missing something here?</description></item><item><title>All About Assert Part III: Dispelling the Myths</title><link>http://blogs.msdn.com/shawnfa/archive/2004/08/23/219155.aspx#221047</link><pubDate>Thu, 26 Aug 2004 22:07:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:221047</guid><dc:creator>.Net Security Blog</dc:creator><description /></item><item><title>re: All About Assert Part I: What Assert Actually Does</title><link>http://blogs.msdn.com/shawnfa/archive/2004/08/23/219155.aspx#221054</link><pubDate>Thu, 26 Aug 2004 19:09:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:221054</guid><dc:creator>Shawn</dc:creator><description>Hi Eric,&lt;br&gt;&lt;br&gt;Actually, that's assert myth #3 (&lt;a target="_new" href="http://blogs.msdn.com/shawnfa/archive/2004/08/25/220458.aspx#myth3"&gt;http://blogs.msdn.com/shawnfa/archive/2004/08/25/220458.aspx#myth3&lt;/a&gt;) .... while the call to Assert will &amp;quot;succeed&amp;quot; in that it will return to you without an causing an exception (assuming you have Assertion permission), it will actually have no effect unless you also have the permissions that you are Asserting.&lt;br&gt;&lt;br&gt;So the only way for your scenario to work would be if the hacker was executing under FullTrust already, in which case, this is no longer an interesting form of attack (it doesn't buy the hacker anything).&lt;br&gt;&lt;br&gt;-Shawn</description></item><item><title>All About Assert Part IV: When Assert Won't Help</title><link>http://blogs.msdn.com/shawnfa/archive/2004/08/23/219155.aspx#221093</link><pubDate>Thu, 26 Aug 2004 23:31:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:221093</guid><dc:creator>.Net Security Blog</dc:creator><description /></item><item><title>re: All About Assert Part I: What Assert Actually Does</title><link>http://blogs.msdn.com/shawnfa/archive/2004/08/23/219155.aspx#221163</link><pubDate>Thu, 26 Aug 2004 22:19:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:221163</guid><dc:creator>Novice</dc:creator><description>When you say the following is untrue:&lt;br&gt;Assert stops all stack walks from proceeding further up the call chain&lt;br&gt;&lt;br&gt;You mean that the use of Assert for a particular permission will not stop stack walks from proceeding up the call stack for other permissions, correct?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;Novice</description></item><item><title>re: All About Assert Part I: What Assert Actually Does</title><link>http://blogs.msdn.com/shawnfa/archive/2004/08/23/219155.aspx#221191</link><pubDate>Thu, 26 Aug 2004 22:58:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:221191</guid><dc:creator>Shawn</dc:creator><description>That's correct.  Check out Myth #6 for more details on this.  (&lt;a target="_new" href="http://blogs.msdn.com/shawnfa/archive/2004/08/25/220458.aspx#myth6"&gt;http://blogs.msdn.com/shawnfa/archive/2004/08/25/220458.aspx#myth6&lt;/a&gt;)&lt;br&gt;&lt;br&gt;-Shawn</description></item><item><title>When is ReflectionPermission Needed?</title><link>http://blogs.msdn.com/shawnfa/archive/2004/08/23/219155.aspx#389771</link><pubDate>Tue, 08 Mar 2005 23:36:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:389771</guid><dc:creator>.Net Security Blog</dc:creator><description /></item><item><title>All About Assert Part I: What Assert Actually Does</title><link>http://blogs.msdn.com/shawnfa/archive/2004/08/23/219155.aspx#541677</link><pubDate>Thu, 02 Mar 2006 03:23:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:541677</guid><dc:creator>dotnetkicks.com</dc:creator><description>Trackback from dotnetkicks.com</description></item></channel></rss>