Question

Could any body simply tell me what Medium Trust level is ?

And what does it mean :

"More and more ASP.NET hosting providers are enforcing a Medium Trust Policy on their servers.Therefore it is important to make your website work (as much as possible) in environments where medium trust is enforced."

Thanks

Was it helpful?

Solution

To put this simply there are features of the .NET framework that won't work in Medium Trust such as P/Invoke, no access to the Windows Registry and the Windows Event Log. And also you can access files only in the current directory. You can read more about ASP.NET Code Access Security on MSDN. Here's a nice table from the article:

alt text

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top