什么是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).

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

相关文章

### 创建一个gRPC服务项目(grpc服务端)和一个 webapi项目(...
一、SiganlR 使用的协议类型 1.websocket即时通讯协议 2.Ser...
.Net 6 WebApi 项目 在Linux系统上 打包成Docker镜像,发布为...
一、 PD简介PowerDesigner 是一个集所有现代建模技术于一身的...
一、存储过程 存储过程就像数据库中运行的方法(函数) 优点:...
一、Ueditor的下载 1、百度编辑器下载地址:http://ueditor....