I was taking a look at Code Access trust levels in asp.net 2.0 tonight, to make sure that our existing medium trust setup for DotNetNuke wouldn't have any issues. After running a quick compare via Beyondcompare , I noticed there was a new SecurityClass, SmtpPermission. After a look in the beta documentation , it looks like it's there to control access to System.Net.Mail. At the minute, it's set to connect, which would match the previous default, but I can see lots of hosting providers disabling it, and adding their own custom Assemblies to the GAC to regulate the types and quantities of emails you send from your website.
The other change is that Microsoft have tweaked the FullTrust node from
class="UrlMembershipCondition"
Url="$Gac$/*"
version="1"
/>
to
class="GacMembershipCondition"
version="1"
/>
which looks like it should simplify the code required to check whether an assembly is loaded from the Global Assembly Cache (GAC)