什么是Asp.net中的中等信任?

前端之家收集整理的这篇文章主要介绍了什么是Asp.net中的中等信任?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
什么是Asp.net中的中等信任?我们什么时候在Asp.net中使用Medium Trust?

解决方法

The most concise description I’ve seen is here
  • Full trust – your code can do anything that the account running it can do.
  • High trust – same as above except your code cannot call into unmanaged code. i.e. Win32 APIs,COM interop.
  • Medium trust – same as above except your code cannot see any part of the file system except its application directory.
  • Low trust – same as above except your code cannot make any out-of-process calls. i.e. calls to a database,network,etc.
  • Minimal trust – code is restricted from anything but the most trival processing (calculating algorithms).

那些是很大的区别,你对这个小细节感兴趣吗?信任级别总体上指代码允许做什么。

原文链接:https://www.f2er.com/aspnet/253333.html

猜你在找的asp.Net相关文章