I a using
System.Reflection
System.Runtime.InteropServices
System.Security.Permissions
In my web application
In this, Reflection need low thrust level to run
But I have hosted my site in a shared server.
So thrust level is high
I have tried to over ride the trust level by adding
<location allowOverride="true">
<securityPolicy>
<trustLevel name="Full" policyFile="internal" />
<trustLevel name="High" policyFile="web_hightrust.config" />
<trustLevel name="Medium" policyFile="web_mediumtrust.config" />
<trustLevel name="Low" policyFile="web_lowtrust.config" />
<trustLevel name="Minimal" policyFile="web_minimaltrust.config" />
</securityPolicy>
<trust level="Low" originUrl="http://192.166.1.82/xxx.com" />
</location>
In my applications web.config
Unfortunately this became impossible since the server administrator has
Done <location allowOverride="false"> on
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONF IG\web.config
On the server
What can I do to execute codes that need low trust level
on a server where thrust level is high
:( ;(