Medium Trust: Disabling reflection optimizer and making DLLs under 4.0 .NET FX SecurityTransparent (for secannotate analysis) and APTCA (for secannotate to be happy) after discussing with Levi.

--HG--
branch : dev
This commit is contained in:
Andre Rodrigues
2010-11-11 19:37:18 -08:00
parent 99dad40945
commit 1f3ddc98ed
8 changed files with 7 additions and 4 deletions

View File

@@ -13,8 +13,14 @@
<section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor" requirePermission="false" />
<section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor" requirePermission="false" />
</sectionGroup>
<section name="hibernate-configuration" requirePermission="false" type="NHibernate.Cfg.ConfigurationSectionHandler, NHibernate" />
</configSections>
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
<reflection-optimizer use="false"/>
</hibernate-configuration>
<appSettings>
<!--
This is a workaround. Theres a known issue that causes Forms Authentication to always redirect unauthenticated users