문제

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

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top